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.001624/0.001624, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002309/0.002309, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2748/0.2748, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 75.88 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4216, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004818/0.4264, allocations: 3.335 MB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.4298, allocations: 1.604 MB / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004899/0.4303, allocations: 22.56 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.4309, allocations: 141.1 kB / 0.5355 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005431/0.4315, allocations: 204.2 kB / 0.5357 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.4328, allocations: 0.5353 MB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.4339, allocations: 0.9224 MB / 0.5371 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.4343, allocations: 227.8 kB / 0.5373 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005584/0.4349, allocations: 369.3 kB / 0.5377 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.4354, allocations: 395.5 kB / 0.5381 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.4355, allocations: 66.56 kB / 0.5381 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.4357, allocations: 71.02 kB / 0.5382 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.4359, allocations: 201.1 kB / 0.5384 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.4362, allocations: 339.9 kB / 0.5387 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008708/0.437, allocations: 0.7867 MB / 0.5395 GB, free: 6.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4371, allocations: 1.125 kB / 0.5395 GB, free: 6.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.4371, allocations: 3.938 kB / 0.5395 GB, free: 6.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.4371, allocations: 0 / 0.5395 GB, free: 6.57 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.002269/0.4394, allocations: 1.178 MB / 0.5406 GB, free: 5.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4394, allocations: 11.02 kB / 0.5406 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.915e-05/0.4395, allocations: 89.08 kB / 0.5407 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.4398, allocations: 111 kB / 0.5408 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/0.4407, allocations: 0.5921 MB / 0.5414 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.4407, allocations: 45.58 kB / 0.5414 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.143e-05/0.4408, allocations: 50.53 kB / 0.5415 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4419, allocations: 0.617 MB / 0.5421 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.442, allocations: 6.344 kB / 0.5421 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.442, allocations: 16.31 kB / 0.5421 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.442, allocations: 12.34 kB / 0.5421 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.4431, allocations: 465.8 kB / 0.5426 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.4467, allocations: 2.65 MB / 0.5452 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.4478, allocations: 0.5491 MB / 0.5457 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.4483, allocations: 253.9 kB / 0.5459 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.4484, allocations: 9.75 kB / 0.5459 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.4484, allocations: 41.81 kB / 0.546 GB, free: 1.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.4485, allocations: 0 / 0.546 GB, free: 1.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002495/0.451, allocations: 1.162 MB / 0.5471 GB, free: 488 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.4511, allocations: 170.2 kB / 0.5473 GB, free: 280 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/0.452, allocations: 0.6528 MB / 0.5479 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.452, allocations: 37.7 kB / 0.548 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.4523, allocations: 364.5 kB / 0.5483 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.4524, allocations: 178.5 kB / 0.5485 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.4526, allocations: 118.3 kB / 0.5486 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4528, allocations: 337.9 kB / 0.5489 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.4534, allocations: 271.3 kB / 0.5492 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/0.4541, allocations: 437.5 kB / 0.5496 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.4554, allocations: 0.6762 MB / 0.5502 GB, free: 13.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4554, allocations: 0 / 0.5502 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001628/0.457, allocations: 0.802 MB / 0.551 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4571, allocations: 8 kB / 0.551 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4571, allocations: 4 kB / 0.551 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.4571, allocations: 8.531 kB / 0.5511 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.4578, allocations: 151.8 kB / 0.5512 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.4578, allocations: 15.88 kB / 0.5512 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.4583, allocations: 79.67 kB / 0.5513 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.4584, allocations: 24 kB / 0.5513 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007565/0.4592, allocations: 409.3 kB / 0.5517 GB, free: 11.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006594/0.4598, allocations: 417.3 kB / 0.5521 GB, free: 11.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001157/0.461, allocations: 0.657 MB / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/0.461, allocations: 3.984 kB / 0.5527 GB, free: 10.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001495/0.4625, allocations: 0.7737 MB / 0.5535 GB, free: 9.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.4625, allocations: 8.562 kB / 0.5535 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4626, allocations: 8 kB / 0.5535 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.4626, allocations: 8 kB / 0.5535 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.4632, allocations: 147.7 kB / 0.5537 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.4632, allocations: 11.94 kB / 0.5537 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.4637, allocations: 79.61 kB / 0.5538 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.4637, allocations: 28 kB / 0.5538 GB, free: 9.309 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.0001916/0.4639, allocations: 216.1 kB / 0.554 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.4641, allocations: 79.53 kB / 0.5541 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.4643, allocations: 90.2 kB / 0.5541 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.4643, allocations: 7.938 kB / 0.5542 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4643, allocations: 0 / 0.5542 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4643, allocations: 0 / 0.5542 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.4656, allocations: 0.861 MB / 0.555 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.4656, allocations: 7.938 kB / 0.555 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/0.4662, allocations: 103.8 kB / 0.5551 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.4663, allocations: 4 kB / 0.5551 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.4663, allocations: 12 kB / 0.5551 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.4663, allocations: 11.92 kB / 0.5551 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4663, allocations: 0 / 0.5551 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.4682, allocations: 1.132 MB / 0.5562 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.4685, allocations: 208.4 kB / 0.5564 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.4686, allocations: 16 kB / 0.5564 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.4691, allocations: 47.94 kB / 0.5565 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.4693, allocations: 43.83 kB / 0.5565 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.4693, allocations: 11.98 kB / 0.5565 GB, free: 6.367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006673/0.47, allocations: 463 kB / 0.557 GB, free: 5.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.47, allocations: 0 / 0.557 GB, free: 5.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007869/0.4708, allocations: 192 kB / 0.5572 GB, free: 5.734 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.00229/0.4731, allocations: 1.691 MB / 0.5588 GB, free: 4.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.4751, allocations: 0.9542 MB / 0.5598 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4752, allocations: 4 kB / 0.5598 GB, free: 3.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.4758, allocations: 289.5 kB / 0.56 GB, free: 2.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4769, allocations: 182.4 kB / 0.5602 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.4874, allocations: 6.65 MB / 0.5667 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.488, allocations: 0.9497 MB / 0.5676 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005013/0.4885, allocations: 148.8 kB / 0.5678 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.4889, allocations: 263.3 kB / 0.568 GB, free: 10.32 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4889, allocations: 0 / 0.568 GB, free: 10.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.5298, allocations: 14.53 MB / 0.5822 GB, free: 11.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.915/9.445, allocations: 11.56 kB / 0.5822 GB, free: 11.88 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.csv","/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