Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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_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_4.0.0_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_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 97.17 kB / 16.99 MB, free: 6.402 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.0012/0.0012, allocations: 178.2 kB / 17.88 MB, free: 5.957 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.481/1.481, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.236/0.236, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004926, allocations: 11.94 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2043, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004827/0.2092, allocations: 2.844 MB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.2133, allocations: 1.443 MB / 475.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004549/0.2138, allocations: 23.88 kB / 475.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006978/0.2145, allocations: 99.31 kB / 475.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005298/0.2151, allocations: 187.3 kB / 476 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.2164, allocations: 414.1 kB / 476.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009618/0.2174, allocations: 0.597 MB / 477 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.2178, allocations: 177 kB / 477.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004782/0.2183, allocations: 314.7 kB / 477.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.2188, allocations: 330.5 kB / 477.8 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.687e-05/0.2189, allocations: 20 kB / 477.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.2192, allocations: 119.8 kB / 478 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.2195, allocations: 147.4 kB / 478.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.2196, allocations: 129.3 kB / 478.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.2204, allocations: 0.6236 MB / 478.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2204, allocations: 0 / 478.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2204, allocations: 0 / 478.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2204, allocations: 0 / 478.9 MB, free: 6.289 MB / 350.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.002644/0.2231, allocations: 1.075 MB / 480 MB, free: 5.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.2231, allocations: 11.97 kB / 480 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.2233, allocations: 90.97 kB / 480.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.2244, allocations: 0.5265 MB / 480.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.2245, allocations: 37 kB / 480.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.2246, allocations: 55.95 kB / 480.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.2258, allocations: 0.6203 MB / 481.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.2259, allocations: 7.938 kB / 481.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.722e-05/0.2259, allocations: 16 kB / 481.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.226, allocations: 16 kB / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.2271, allocations: 0.4982 MB / 481.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.2313, allocations: 2.675 MB / 484.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.2325, allocations: 0.5316 MB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.745e-05/0.2326, allocations: 8.219 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/0.2326, allocations: 42.73 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.614e-06/0.2326, allocations: 0 / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.00273/0.2354, allocations: 1.212 MB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.2355, allocations: 144.4 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.2366, allocations: 0.645 MB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.2367, allocations: 37.7 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.237, allocations: 360.7 kB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.2372, allocations: 181.4 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.2373, allocations: 8 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.2375, allocations: 337.9 kB / 488 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.2382, allocations: 301.1 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.239, allocations: 456.8 kB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006965/0.2397, allocations: 339.8 kB / 489.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2397, allocations: 0 / 489.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001686/0.2414, allocations: 0.8746 MB / 489.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007631/0.2421, allocations: 1.742 MB / 491.7 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.2422, allocations: 12 kB / 491.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.2422, allocations: 8 kB / 491.7 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.2431, allocations: 211.7 kB / 491.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.2431, allocations: 11.94 kB / 491.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.2437, allocations: 91.58 kB / 492 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.2437, allocations: 28 kB / 492 MB, free: 8.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2437, allocations: 4 kB / 492 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001497/0.2452, allocations: 0.7338 MB / 492.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2453, allocations: 8.031 kB / 492.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.2453, allocations: 8 kB / 492.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.2461, allocations: 195.8 kB / 493 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.2461, allocations: 15.92 kB / 493 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.2466, allocations: 83.64 kB / 493.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.2467, allocations: 24 kB / 493.1 MB, free: 7.512 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004088/0.2471, allocations: 292.9 kB / 493.4 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.2473, allocations: 79.02 kB / 493.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003295/0.2476, allocations: 86.91 kB / 493.5 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.2476, allocations: 4 kB / 493.5 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.2476, allocations: 4 kB / 493.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.2477, allocations: 3.984 kB / 493.6 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.2499, allocations: 1.287 MB / 494.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2499, allocations: 0 / 494.8 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.2505, allocations: 120 kB / 495 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2505, allocations: 7.984 kB / 495 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.2506, allocations: 19.98 kB / 495 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.2506, allocations: 7.938 kB / 495 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2506, allocations: 0 / 495 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.2533, allocations: 1.269 MB / 496.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.2536, allocations: 200.2 kB / 496.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.2537, allocations: 15.95 kB / 496.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.2542, allocations: 63.94 kB / 496.5 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.2544, allocations: 43.88 kB / 496.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.2544, allocations: 12 kB / 496.6 MB, free: 3.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006962/0.2551, allocations: 459 kB / 497 MB, free: 3.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2551, allocations: 0 / 497 MB, free: 3.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001015/0.2561, allocations: 223.9 kB / 497.3 MB, free: 3.199 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004289/0.2566, allocations: 147.7 kB / 497.4 MB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.259, allocations: 1.048 MB / 498.4 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.259, allocations: 0 / 498.4 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.2597, allocations: 312.1 kB / 498.8 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.2608, allocations: 169 kB / 498.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.2638, allocations: 1.727 MB / 0.4889 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/0.2645, allocations: 0.962 MB / 0.4899 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005261/0.265, allocations: 152.8 kB / 0.49 GB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.2652, allocations: 43.44 kB / 0.49 GB, free: 14.57 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2652, allocations: 4 kB / 0.49 GB, free: 14.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01518/0.2804, allocations: 7.403 MB / 0.4973 GB, free: 7.23 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches