Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 118.8 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3777/0.3777, allocations: 46.09 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.319, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004793/0.3238, allocations: 3.349 MB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.3268, allocations: 1.607 MB / 0.5353 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.3273, allocations: 21.62 kB / 0.5354 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000567/0.3279, allocations: 132.8 kB / 0.5355 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.3284, allocations: 186.1 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3297, allocations: 0.5463 MB / 0.5362 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.3309, allocations: 0.9037 MB / 0.5371 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.3313, allocations: 236.7 kB / 0.5373 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.3319, allocations: 369.4 kB / 0.5377 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.3324, allocations: 402.1 kB / 0.538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3326, allocations: 63.22 kB / 0.5381 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3327, allocations: 66.12 kB / 0.5382 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.3329, allocations: 202.3 kB / 0.5384 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.3332, allocations: 343.2 kB / 0.5387 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007932/0.334, allocations: 0.7805 MB / 0.5394 GB, free: 6.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3341, allocations: 3.938 kB / 0.5395 GB, free: 6.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3341, allocations: 0 / 0.5395 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3341, allocations: 0.9375 kB / 0.5395 GB, free: 6.527 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002303/0.3364, allocations: 1.152 MB / 0.5406 GB, free: 5.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3364, allocations: 14.08 kB / 0.5406 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.3366, allocations: 90.27 kB / 0.5407 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.3369, allocations: 101 kB / 0.5408 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009336/0.3378, allocations: 0.5803 MB / 0.5413 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.3378, allocations: 37.12 kB / 0.5414 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.042e-05/0.3379, allocations: 59.73 kB / 0.5414 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3391, allocations: 0.6214 MB / 0.542 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.3391, allocations: 6 kB / 0.542 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.3392, allocations: 16.44 kB / 0.5421 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.3392, allocations: 11.59 kB / 0.5421 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.3402, allocations: 461.7 kB / 0.5425 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/0.3444, allocations: 2.658 MB / 0.5451 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.3457, allocations: 0.5531 MB / 0.5456 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.3463, allocations: 249.8 kB / 0.5459 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.3464, allocations: 9.281 kB / 0.5459 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.3464, allocations: 40.73 kB / 0.5459 GB, free: 1.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.694e-05/0.3464, allocations: 3.984 kB / 0.5459 GB, free: 1.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002593/0.349, allocations: 1.134 MB / 0.547 GB, free: 488 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.3492, allocations: 162.2 kB / 0.5472 GB, free: 288 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3503, allocations: 0.6528 MB / 0.5478 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.3504, allocations: 37.7 kB / 0.5479 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.3508, allocations: 356.1 kB / 0.5482 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.351, allocations: 169.5 kB / 0.5484 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.3512, allocations: 126.2 kB / 0.5485 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3514, allocations: 333.8 kB / 0.5488 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/0.352, allocations: 275.3 kB / 0.5491 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.3527, allocations: 433.5 kB / 0.5495 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.3541, allocations: 0.6855 MB / 0.5502 GB, free: 13.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3541, allocations: 4 kB / 0.5502 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001739/0.3558, allocations: 0.7976 MB / 0.5509 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3559, allocations: 4 kB / 0.5509 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.3559, allocations: 8.531 kB / 0.551 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.3559, allocations: 8 kB / 0.551 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/0.3566, allocations: 147.7 kB / 0.5511 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/0.3567, allocations: 15.92 kB / 0.5511 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/0.3573, allocations: 75.62 kB / 0.5512 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.3574, allocations: 28 kB / 0.5512 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007888/0.3582, allocations: 409.3 kB / 0.5516 GB, free: 11.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006696/0.3588, allocations: 417.2 kB / 0.552 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00116/0.36, allocations: 0.6571 MB / 0.5526 GB, free: 10.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.36, allocations: 0 / 0.5526 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001535/0.3616, allocations: 0.7737 MB / 0.5534 GB, free: 9.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3616, allocations: 12.09 kB / 0.5534 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3616, allocations: 7.984 kB / 0.5534 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.3616, allocations: 11.94 kB / 0.5534 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.3623, allocations: 139.8 kB / 0.5536 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.3623, allocations: 15.88 kB / 0.5536 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.3629, allocations: 79.62 kB / 0.5537 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.363, allocations: 24 kB / 0.5537 GB, free: 9.328 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002073/0.3632, allocations: 216.1 kB / 0.5539 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.3634, allocations: 75.06 kB / 0.554 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.3636, allocations: 90.2 kB / 0.554 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.3636, allocations: 7.938 kB / 0.554 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3636, allocations: 0 / 0.554 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.3636, allocations: 7.938 kB / 0.5541 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.3651, allocations: 0.857 MB / 0.5549 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3651, allocations: 3.938 kB / 0.5549 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006538/0.3658, allocations: 103.9 kB / 0.555 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3658, allocations: 0 / 0.555 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.3659, allocations: 16 kB / 0.555 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3659, allocations: 0 / 0.555 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.3659, allocations: 8 kB / 0.555 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.3679, allocations: 1.125 MB / 0.5561 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.3682, allocations: 208.1 kB / 0.5563 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.3683, allocations: 16 kB / 0.5563 GB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.3689, allocations: 47.94 kB / 0.5564 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.369, allocations: 39.89 kB / 0.5564 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.3691, allocations: 11.98 kB / 0.5564 GB, free: 6.402 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006774/0.3698, allocations: 467 kB / 0.5569 GB, free: 5.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3698, allocations: 0 / 0.5569 GB, free: 5.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008312/0.3706, allocations: 188 kB / 0.5571 GB, free: 5.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.002215/0.3728, allocations: 1.687 MB / 0.5587 GB, free: 4.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.375, allocations: 0.9551 MB / 0.5596 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.375, allocations: 0 / 0.5596 GB, free: 3.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.3756, allocations: 281.4 kB / 0.5599 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.3767, allocations: 196 kB / 0.5601 GB, free: 2.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.3873, allocations: 6.613 MB / 0.5665 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.3879, allocations: 0.9535 MB / 0.5675 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005033/0.3884, allocations: 148.7 kB / 0.5676 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.3888, allocations: 259.3 kB / 0.5679 GB, free: 10.39 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3888, allocations: 0 / 0.5679 GB, free: 10.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.4303, allocations: 14.8 MB / 0.5823 GB, free: 11.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.728/9.158, allocations: 6.891 kB / 0.5823 GB, free: 11.69 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous/Continuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches