Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 104.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 43.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3857, allocations: 49.45 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002573/0.3883, allocations: 0.9042 MB / 401.1 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004588/0.3888, allocations: 131.8 kB / 401.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3889, allocations: 6.125 kB / 401.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.3891, allocations: 8.844 kB / 401.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.927e-05/0.3892, allocations: 10.02 kB / 401.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.3895, allocations: 48.05 kB / 401.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3897, allocations: 63.91 kB / 401.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3898, allocations: 49.95 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.3899, allocations: 20.58 kB / 401.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.39, allocations: 30.98 kB / 401.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.39, allocations: 4.281 kB / 401.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.39, allocations: 5.75 kB / 401.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3901, allocations: 28.66 kB / 401.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.3902, allocations: 38.34 kB / 401.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.3904, allocations: 88.02 kB / 401.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3904, allocations: 0 / 401.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3904, allocations: 0 / 401.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3904, allocations: 1 kB / 401.7 MB, free: 7.359 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005085/0.3909, allocations: 389.2 kB / 402 MB, free: 6.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.391, allocations: 8.031 kB / 402.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.391, allocations: 42.73 kB / 402.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.3911, allocations: 12.75 kB / 402.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.3914, allocations: 216 kB / 402.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3914, allocations: 8.375 kB / 402.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3914, allocations: 4.375 kB / 402.3 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.3919, allocations: 218.3 kB / 402.5 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3919, allocations: 7.875 kB / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3919, allocations: 0 / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3919, allocations: 0 / 402.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.392, allocations: 35.98 kB / 402.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.3922, allocations: 185.6 kB / 402.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.3924, allocations: 134.6 kB / 402.9 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3926, allocations: 85.02 kB / 403 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3926, allocations: 7.984 kB / 403 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.3926, allocations: 30.56 kB / 403 MB, free: 5.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.3926, allocations: 0 / 403 MB, free: 5.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003144/0.3929, allocations: 164.4 kB / 403.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.393, allocations: 63.34 kB / 403.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3932, allocations: 148.3 kB / 403.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3932, allocations: 25.7 kB / 403.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.3932, allocations: 88.47 kB / 403.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3933, allocations: 7.906 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.3933, allocations: 41.7 kB / 403.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3935, allocations: 322.8 kB / 403.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.3935, allocations: 19.98 kB / 403.9 MB, free: 4.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3936, allocations: 117.6 kB / 404 MB, free: 4.766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3938, allocations: 157.5 kB / 404.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3938, allocations: 4 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000214/0.394, allocations: 149.2 kB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.3941, allocations: 11.94 kB / 404.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.3941, allocations: 4 kB / 404.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.3941, allocations: 4 kB / 404.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.561e-05/0.3942, allocations: 16.42 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.3942, allocations: 15.94 kB / 404.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.3943, allocations: 4 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3943, allocations: 12 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.3944, allocations: 138.3 kB / 404.5 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.3946, allocations: 125.4 kB / 404.6 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.3947, allocations: 17.19 kB / 404.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3947, allocations: 0 / 404.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3947, allocations: 4 kB / 404.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3947, allocations: 7.969 kB / 404.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3948, allocations: 185.6 kB / 404.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3948, allocations: 4 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.3949, allocations: 0 / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3949, allocations: 3.938 kB / 404.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3949, allocations: 11.94 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3949, allocations: 0 / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3949, allocations: 0 / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.3951, allocations: 160.8 kB / 405 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.3952, allocations: 100.9 kB / 405.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.3952, allocations: 0 / 405.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.3952, allocations: 4 kB / 405.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-06/0.3952, allocations: 0 / 405.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.3953, allocations: 8 kB / 405.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.01e-05/0.3953, allocations: 109.9 kB / 405.2 MB, free: 3.375 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3954, allocations: 0 / 405.2 MB, free: 3.375 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.3956, allocations: 16 kB / 405.2 MB, free: 3.359 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000636/0.3962, allocations: 0.7557 MB / 406 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.3964, allocations: 92.78 kB / 406.1 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3964, allocations: 4.062 kB / 406.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.3964, allocations: 0 / 406.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.3968, allocations: 89.55 kB / 406.2 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.3984, allocations: 1.615 MB / 407.8 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.3988, allocations: 0.7084 MB / 408.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.671e-05/0.3988, allocations: 12.64 kB / 408.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.3989, allocations: 23.44 kB / 408.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3989, allocations: 4 kB / 408.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.4164, allocations: 2.474 MB / 411 MB, free: 13.51 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.14, allocations: 8 kB / 411 MB, free: 13.5 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches