Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,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_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 106.8 kB / 18.45 MB, free: 4.602 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.00108/0.00108, allocations: 183 kB / 19.38 MB, free: 3.68 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.32/1.32, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1988/0.1988, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2954, allocations: 60.83 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.00382/0.2993, allocations: 3.353 MB / 0.5229 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.3015, allocations: 1.542 MB / 0.5244 GB, free: 136 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.3018, allocations: 22.09 kB / 0.5244 GB, free: 128 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.3023, allocations: 146.3 kB / 0.5245 GB, free: 32 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.3028, allocations: 199.2 kB / 0.5247 GB, free: 15.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3039, allocations: 0.5302 MB / 0.5252 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.3049, allocations: 0.9234 MB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.3053, allocations: 231.6 kB / 0.5264 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.3058, allocations: 365.4 kB / 0.5267 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.3063, allocations: 399.3 kB / 0.5271 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.291e-05/0.3064, allocations: 61.88 kB / 0.5271 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.3065, allocations: 64.62 kB / 0.5272 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.3067, allocations: 202 kB / 0.5274 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.307, allocations: 346.6 kB / 0.5277 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007132/0.3077, allocations: 0.7905 MB / 0.5285 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3077, allocations: 0 / 0.5285 GB, free: 13.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3077, allocations: 0 / 0.5285 GB, free: 13.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.3077, allocations: 0 / 0.5285 GB, free: 13.66 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.002319/0.31, allocations: 1.157 MB / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3101, allocations: 7.531 kB / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.3102, allocations: 88.59 kB / 0.5297 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.3112, allocations: 0.5827 MB / 0.5303 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.3113, allocations: 41.06 kB / 0.5303 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.3114, allocations: 56.31 kB / 0.5304 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.3125, allocations: 0.6067 MB / 0.531 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.3125, allocations: 5.625 kB / 0.531 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.3126, allocations: 24.42 kB / 0.531 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3126, allocations: 20.27 kB / 0.531 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.3137, allocations: 458.2 kB / 0.5315 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/0.3174, allocations: 2.642 MB / 0.534 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.3185, allocations: 0.5495 MB / 0.5346 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.3191, allocations: 249.6 kB / 0.5348 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.3191, allocations: 7.969 kB / 0.5348 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3191, allocations: 45.95 kB / 0.5349 GB, free: 8.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.3191, allocations: 0 / 0.5349 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002471/0.3216, allocations: 1.135 MB / 0.536 GB, free: 8.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.3217, allocations: 132.8 kB / 0.5361 GB, free: 8.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.3226, allocations: 0.6502 MB / 0.5367 GB, free: 7.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.3226, allocations: 35.17 kB / 0.5368 GB, free: 7.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.3229, allocations: 370 kB / 0.5371 GB, free: 7.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.323, allocations: 174.1 kB / 0.5373 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3232, allocations: 114.6 kB / 0.5374 GB, free: 7.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3233, allocations: 331.5 kB / 0.5377 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.324, allocations: 275.2 kB / 0.538 GB, free: 6.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/0.3247, allocations: 428.1 kB / 0.5384 GB, free: 6.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.326, allocations: 0.6865 MB / 0.5391 GB, free: 5.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3261, allocations: 1.406 kB / 0.5391 GB, free: 5.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001602/0.3277, allocations: 0.7866 MB / 0.5398 GB, free: 5.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3277, allocations: 11.81 kB / 0.5398 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.3277, allocations: 7.594 kB / 0.5398 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3277, allocations: 8.094 kB / 0.5399 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006657/0.3284, allocations: 155.6 kB / 0.54 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.3284, allocations: 8.156 kB / 0.54 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.3289, allocations: 81.62 kB / 0.5401 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.329, allocations: 21.72 kB / 0.5401 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000749/0.3298, allocations: 417.1 kB / 0.5405 GB, free: 5.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006763/0.3304, allocations: 417.1 kB / 0.5409 GB, free: 4.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001227/0.3317, allocations: 0.6516 MB / 0.5415 GB, free: 4.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.3317, allocations: 1.594 kB / 0.5415 GB, free: 4.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001571/0.3333, allocations: 0.7766 MB / 0.5423 GB, free: 4.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.3333, allocations: 9.375 kB / 0.5423 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3333, allocations: 5.281 kB / 0.5423 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.3333, allocations: 7.438 kB / 0.5423 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.3339, allocations: 140.7 kB / 0.5425 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3339, allocations: 15.92 kB / 0.5425 GB, free: 3.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.3344, allocations: 79.8 kB / 0.5425 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.3345, allocations: 24 kB / 0.5426 GB, free: 3.82 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.0001662/0.3347, allocations: 216.1 kB / 0.5428 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3349, allocations: 79 kB / 0.5428 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.335, allocations: 90.22 kB / 0.5429 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3351, allocations: 8.016 kB / 0.5429 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.3351, allocations: 3.938 kB / 0.5429 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.3353, allocations: 196 kB / 0.5431 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.765e-05/0.3354, allocations: 19.98 kB / 0.5432 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.336, allocations: 39.95 kB / 0.5432 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.3361, allocations: 39.94 kB / 0.5432 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002623/0.3387, allocations: 1.018 MB / 0.5442 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002072/0.3408, allocations: 1.271 MB / 0.5455 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006231/0.3414, allocations: 300 kB / 0.5458 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006186/0.3421, allocations: 459 kB / 0.5462 GB, free: 64 kB / 398.1 MB Notification: Performance of Backend: time 3.5e-07/0.3421, allocations: 0 / 0.5462 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.3441, allocations: 0.8185 MB / 0.547 GB, free: 15.24 MB / 414.1 MB Notification: Performance of SimCode: time 0.002353/0.3464, allocations: 1.912 MB / 0.5489 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Templates: time 0.01895/0.3654, allocations: 12 MB / 0.5606 GB, free: 1.355 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches