Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 114.9 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 214.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.207/0.207, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 79.86 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3132, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004603/0.3178, allocations: 3.385 MB / 0.535 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.3209, allocations: 1.608 MB / 0.5365 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005328/0.3215, allocations: 21.75 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.3221, allocations: 140.6 kB / 0.5367 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000612/0.3227, allocations: 183.4 kB / 0.5369 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.324, allocations: 0.5464 MB / 0.5374 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.3252, allocations: 0.9425 MB / 0.5383 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.3256, allocations: 240.7 kB / 0.5386 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006835/0.3263, allocations: 372.8 kB / 0.5389 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007261/0.3271, allocations: 419.1 kB / 0.5393 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.3273, allocations: 61.94 kB / 0.5394 GB, free: 7.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.3277, allocations: 183.4 kB / 0.5396 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.3281, allocations: 203.9 kB / 0.5397 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.3285, allocations: 340.2 kB / 0.5401 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3296, allocations: 0.909 MB / 0.541 GB, free: 6.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3296, allocations: 0 / 0.541 GB, free: 6.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3296, allocations: 3.938 kB / 0.541 GB, free: 6.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.509e-05/0.3297, allocations: 1.219 kB / 0.541 GB, free: 6.562 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.002846/0.3325, allocations: 1.161 MB / 0.5421 GB, free: 5.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3326, allocations: 18.75 kB / 0.5421 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.333, allocations: 101.1 kB / 0.5422 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.3341, allocations: 0.5844 MB / 0.5428 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.3341, allocations: 37.59 kB / 0.5428 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3342, allocations: 54.81 kB / 0.5429 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3354, allocations: 0.6211 MB / 0.5435 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.3354, allocations: 1.281 kB / 0.5435 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.3355, allocations: 17.75 kB / 0.5435 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3355, allocations: 11.31 kB / 0.5435 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3365, allocations: 465.7 kB / 0.5439 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.3404, allocations: 2.64 MB / 0.5465 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3414, allocations: 0.5094 MB / 0.547 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.342, allocations: 275.2 kB / 0.5473 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.3421, allocations: 8.172 kB / 0.5473 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3421, allocations: 38.8 kB / 0.5473 GB, free: 1.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.3421, allocations: 0 / 0.5473 GB, free: 1.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002635/0.3448, allocations: 1.144 MB / 0.5484 GB, free: 272 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.3449, allocations: 170.1 kB / 0.5486 GB, free: 64 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.3459, allocations: 0.6529 MB / 0.5492 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.3459, allocations: 41.7 kB / 0.5493 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.3462, allocations: 356.7 kB / 0.5496 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.3464, allocations: 177.5 kB / 0.5498 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.3466, allocations: 118.3 kB / 0.5499 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.3467, allocations: 329.9 kB / 0.5502 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/0.3473, allocations: 291.3 kB / 0.5505 GB, free: 14.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007022/0.348, allocations: 448.2 kB / 0.5509 GB, free: 13.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3494, allocations: 0.7181 MB / 0.5516 GB, free: 12.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3494, allocations: 4 kB / 0.5516 GB, free: 12.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001665/0.3511, allocations: 0.824 MB / 0.5524 GB, free: 11.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3511, allocations: 10.19 kB / 0.5525 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3511, allocations: 4 kB / 0.5525 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.3511, allocations: 8 kB / 0.5525 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/0.3521, allocations: 191.8 kB / 0.5526 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.3521, allocations: 15.92 kB / 0.5527 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.3526, allocations: 87.62 kB / 0.5527 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.3527, allocations: 27.94 kB / 0.5528 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000743/0.3534, allocations: 417.3 kB / 0.5532 GB, free: 11.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006497/0.3541, allocations: 441.2 kB / 0.5536 GB, free: 10.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001201/0.3553, allocations: 0.6833 MB / 0.5543 GB, free: 9.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.005e-06/0.3553, allocations: 0 / 0.5543 GB, free: 9.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001486/0.3568, allocations: 0.8008 MB / 0.555 GB, free: 9.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3568, allocations: 8 kB / 0.555 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3568, allocations: 4 kB / 0.555 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.3569, allocations: 8 kB / 0.5551 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008377/0.3577, allocations: 196.2 kB / 0.5552 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.3577, allocations: 15.92 kB / 0.5553 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.3582, allocations: 79.48 kB / 0.5553 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.3583, allocations: 24 kB / 0.5554 GB, free: 8.844 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0001882/0.3585, allocations: 228 kB / 0.5556 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.3587, allocations: 71.16 kB / 0.5556 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.3588, allocations: 90.91 kB / 0.5557 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3589, allocations: 7.984 kB / 0.5557 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3589, allocations: 0 / 0.5557 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.3591, allocations: 195.9 kB / 0.5559 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.3592, allocations: 19.98 kB / 0.5559 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.3598, allocations: 47.95 kB / 0.556 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3599, allocations: 39.94 kB / 0.556 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002616/0.3625, allocations: 1.041 MB / 0.557 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002043/0.3646, allocations: 1.295 MB / 0.5583 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006109/0.3652, allocations: 287.7 kB / 0.5586 GB, free: 5.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000646/0.3659, allocations: 467 kB / 0.559 GB, free: 5.031 MB / 414.1 MB Notification: Performance of Backend: time 7.61e-07/0.3659, allocations: 3.938 kB / 0.559 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.3682, allocations: 0.8709 MB / 0.5599 GB, free: 4.148 MB / 414.1 MB Notification: Performance of SimCode: time 0.002617/0.3708, allocations: 1.912 MB / 0.5618 GB, free: 2.188 MB / 414.1 MB Notification: Performance of Templates: time 0.02055/0.3914, allocations: 13 MB / 0.5744 GB, free: 5.254 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches