Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Blocks.Continuous,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_4.0.0_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,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_4.0.0_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 109.4 kB / 18.45 MB, free: 4.598 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.000992/0.0009921, allocations: 184.3 kB / 19.39 MB, free: 3.672 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.25/1.25, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3127, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003857/0.3166, allocations: 3.332 MB / 0.5228 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.3192, allocations: 1.545 MB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003943/0.3196, allocations: 22.62 kB / 0.5244 GB, free: 408 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.3201, allocations: 142.3 kB / 0.5245 GB, free: 316 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.3206, allocations: 208.4 kB / 0.5247 GB, free: 180 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3218, allocations: 0.5218 MB / 0.5252 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3228, allocations: 0.9241 MB / 0.5261 GB, free: 15.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003504/0.3232, allocations: 225.7 kB / 0.5263 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.3237, allocations: 363.5 kB / 0.5267 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004553/0.3241, allocations: 404.5 kB / 0.5271 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.745e-05/0.3242, allocations: 61.88 kB / 0.5271 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.3243, allocations: 65.19 kB / 0.5272 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.3245, allocations: 201.2 kB / 0.5274 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.3248, allocations: 342.7 kB / 0.5277 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000795/0.3256, allocations: 0.7927 MB / 0.5285 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3256, allocations: 1.406 kB / 0.5285 GB, free: 13.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3256, allocations: 0 / 0.5285 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3257, allocations: 4 kB / 0.5285 GB, free: 13.93 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.002094/0.3278, allocations: 1.179 MB / 0.5296 GB, free: 13.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3278, allocations: 8.188 kB / 0.5296 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.3279, allocations: 96.95 kB / 0.5297 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008668/0.3288, allocations: 0.5866 MB / 0.5303 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.3289, allocations: 37.81 kB / 0.5303 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.329, allocations: 62.28 kB / 0.5304 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.33, allocations: 0.6124 MB / 0.531 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3301, allocations: 1.031 kB / 0.531 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.3301, allocations: 21.91 kB / 0.531 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3301, allocations: 11.16 kB / 0.531 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.3312, allocations: 469.1 kB / 0.5315 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00338/0.3345, allocations: 2.648 MB / 0.5341 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3356, allocations: 0.5508 MB / 0.5346 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.3361, allocations: 249.8 kB / 0.5348 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.3362, allocations: 8.594 kB / 0.5348 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3362, allocations: 37.97 kB / 0.5349 GB, free: 9.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.275e-06/0.3362, allocations: 3.938 kB / 0.5349 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002392/0.3386, allocations: 1.165 MB / 0.536 GB, free: 8.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.3387, allocations: 132.3 kB / 0.5361 GB, free: 8.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008367/0.3395, allocations: 0.654 MB / 0.5368 GB, free: 7.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.3396, allocations: 36.3 kB / 0.5368 GB, free: 7.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.3398, allocations: 362.4 kB / 0.5372 GB, free: 7.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.34, allocations: 181.8 kB / 0.5373 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.3402, allocations: 122.8 kB / 0.5375 GB, free: 7.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3403, allocations: 332.5 kB / 0.5378 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.3409, allocations: 266.8 kB / 0.538 GB, free: 6.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.3416, allocations: 432.3 kB / 0.5384 GB, free: 6.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.3428, allocations: 0.6743 MB / 0.5391 GB, free: 6.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.3428, allocations: 1.375 kB / 0.5391 GB, free: 6.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001533/0.3444, allocations: 0.7992 MB / 0.5399 GB, free: 5.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3444, allocations: 6.75 kB / 0.5399 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3444, allocations: 5.281 kB / 0.5399 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3444, allocations: 7.906 kB / 0.5399 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.3451, allocations: 151.1 kB / 0.54 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.3451, allocations: 15.67 kB / 0.5401 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.3456, allocations: 74.33 kB / 0.5401 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3457, allocations: 26.48 kB / 0.5402 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007242/0.3464, allocations: 412.2 kB / 0.5405 GB, free: 5.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006344/0.3471, allocations: 416.6 kB / 0.5409 GB, free: 5.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001112/0.3482, allocations: 0.656 MB / 0.5416 GB, free: 4.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.3482, allocations: 1.188 kB / 0.5416 GB, free: 4.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001436/0.3496, allocations: 0.7793 MB / 0.5423 GB, free: 4.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3497, allocations: 7.062 kB / 0.5424 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3497, allocations: 9.375 kB / 0.5424 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.3497, allocations: 7.562 kB / 0.5424 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/0.3503, allocations: 147.1 kB / 0.5425 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3503, allocations: 11.94 kB / 0.5425 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.3508, allocations: 83.66 kB / 0.5426 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.3508, allocations: 24 kB / 0.5426 GB, free: 3.988 MB / 398.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.0001787/0.351, allocations: 216.1 kB / 0.5428 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3512, allocations: 79.48 kB / 0.5429 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.3513, allocations: 86.22 kB / 0.543 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3514, allocations: 11.86 kB / 0.543 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3514, allocations: 7.938 kB / 0.543 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.3516, allocations: 196.5 kB / 0.5432 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.859e-05/0.3517, allocations: 15.98 kB / 0.5432 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005134/0.3522, allocations: 51.94 kB / 0.5433 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3523, allocations: 35.95 kB / 0.5433 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002436/0.3548, allocations: 1.014 MB / 0.5443 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001961/0.3567, allocations: 1.287 MB / 0.5455 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005714/0.3573, allocations: 280.8 kB / 0.5458 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006367/0.358, allocations: 466.9 kB / 0.5463 GB, free: 224 kB / 398.1 MB Notification: Performance of Backend: time 5.51e-07/0.358, allocations: 0 / 0.5463 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.36, allocations: 0.8121 MB / 0.547 GB, free: 15.4 MB / 414.1 MB Notification: Performance of SimCode: time 0.00236/0.3624, allocations: 1.954 MB / 0.549 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Templates: time 0.01945/0.3819, allocations: 12 MB / 0.5607 GB, free: 1.473 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches