Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008867/0.0008868, allocations: 95.27 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 175.8 kB / 16.57 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2777/0.2777, allocations: 43.55 MB / 314.5 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004749, allocations: 12 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.09007, allocations: 58.85 MB / 442.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003076/0.09319, allocations: 2.849 MB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.09571, allocations: 1.494 MB / 447.1 MB, free: 8.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/0.09611, allocations: 23.81 kB / 447.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.09651, allocations: 91.33 kB / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.09702, allocations: 191.4 kB / 447.4 MB, free: 8.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009958/0.09803, allocations: 427.1 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008414/0.09888, allocations: 0.5734 MB / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.09917, allocations: 177.2 kB / 448.6 MB, free: 7.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.09958, allocations: 322.7 kB / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.09993, allocations: 314.4 kB / 449.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.1, allocations: 20 kB / 449.2 MB, free: 6.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.1001, allocations: 24 kB / 449.2 MB, free: 6.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1002, allocations: 151.4 kB / 449.4 MB, free: 6.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1003, allocations: 133.3 kB / 449.5 MB, free: 6.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.1008, allocations: 0.5378 MB / 450 MB, free: 5.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.1008, allocations: 4 kB / 450 MB, free: 5.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1008, allocations: 0 / 450 MB, free: 5.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1008, allocations: 0 / 450 MB, free: 5.738 MB / 382.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.001909/0.1027, allocations: 1.055 MB / 451.1 MB, free: 4.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.1027, allocations: 11.97 kB / 451.1 MB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1029, allocations: 98.83 kB / 451.2 MB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.1037, allocations: 0.5304 MB / 451.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.1038, allocations: 40.98 kB / 451.8 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.1039, allocations: 56 kB / 451.8 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1049, allocations: 0.6251 MB / 452.5 MB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1049, allocations: 4 kB / 452.5 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.105, allocations: 16 kB / 452.5 MB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.105, allocations: 12 kB / 452.5 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.106, allocations: 0.5016 MB / 453 MB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1626/0.2687, allocations: 2.679 MB / 455.7 MB, free: 45.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.2701, allocations: 0.5854 MB / 456.2 MB, free: 45.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.258e-05/0.2702, allocations: 3.641 kB / 456.3 MB, free: 45.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2703, allocations: 41.66 kB / 456.3 MB, free: 45.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 3.296e-06/0.2703, allocations: 0 / 456.3 MB, free: 45.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002622/0.2729, allocations: 1.206 MB / 457.5 MB, free: 45.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.273, allocations: 136 kB / 457.6 MB, free: 45.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/0.2739, allocations: 0.6531 MB / 458.3 MB, free: 45.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.2739, allocations: 36.89 kB / 458.3 MB, free: 45.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.2742, allocations: 371.9 kB / 458.7 MB, free: 45.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.2743, allocations: 169.1 kB / 458.8 MB, free: 44.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.2743, allocations: 7 kB / 458.9 MB, free: 44.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.2744, allocations: 335 kB / 459.2 MB, free: 44.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005797/0.275, allocations: 284.5 kB / 459.5 MB, free: 44.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.2756, allocations: 446.9 kB / 459.9 MB, free: 44.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.2763, allocations: 329.8 kB / 460.2 MB, free: 44.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2763, allocations: 0 / 460.2 MB, free: 44.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001407/0.2777, allocations: 0.8389 MB / 461.1 MB, free: 44.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002792/0.278, allocations: 1.746 MB / 462.8 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.278, allocations: 5.75 kB / 462.8 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.2781, allocations: 5.781 kB / 462.8 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.2787, allocations: 166.9 kB / 463 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.2787, allocations: 11.62 kB / 463 MB, free: 42.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.2792, allocations: 97.61 kB / 463.1 MB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.2793, allocations: 24.02 kB / 463.1 MB, free: 42.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.2793, allocations: 5.594 kB / 463.1 MB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001188/0.2805, allocations: 0.7153 MB / 463.8 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2805, allocations: 5.594 kB / 463.8 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.2805, allocations: 10.25 kB / 463.8 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.2811, allocations: 151.4 kB / 464 MB, free: 42.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2811, allocations: 12.41 kB / 464 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.2816, allocations: 84.86 kB / 464.1 MB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.2816, allocations: 21.33 kB / 464.1 MB, free: 42.42 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000282/0.2819, allocations: 292.4 kB / 464.4 MB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.282, allocations: 81.42 kB / 464.5 MB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.2822, allocations: 86.48 kB / 464.6 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2822, allocations: 6 kB / 464.6 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.2822, allocations: 4.625 kB / 464.6 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.2822, allocations: 6.516 kB / 464.6 MB, free: 42.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.2835, allocations: 0.8612 MB / 465.4 MB, free: 41.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.2835, allocations: 3.094 kB / 465.4 MB, free: 41.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.2841, allocations: 116.4 kB / 465.6 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2841, allocations: 6.812 kB / 465.6 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.2841, allocations: 17.09 kB / 465.6 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2841, allocations: 3.312 kB / 465.6 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2841, allocations: 0 / 465.6 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.2858, allocations: 1.238 MB / 466.8 MB, free: 41.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.286, allocations: 195.1 kB / 467 MB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.2861, allocations: 11.38 kB / 467 MB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.2866, allocations: 65.14 kB / 467.1 MB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.2867, allocations: 38.92 kB / 467.1 MB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.2868, allocations: 13.98 kB / 467.1 MB, free: 41.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005563/0.2873, allocations: 459.9 kB / 467.6 MB, free: 41.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2874, allocations: 0 / 467.6 MB, free: 41.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007296/0.2881, allocations: 199 kB / 467.8 MB, free: 41.2 MB / 382.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 (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.0001226/0.2882, allocations: 108.6 kB / 467.9 MB, free: 41.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.29, allocations: 1.01 MB / 468.9 MB, free: 41.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.29, allocations: 0 / 468.9 MB, free: 41.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.2906, allocations: 315 kB / 469.2 MB, free: 41.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.2914, allocations: 162.1 kB / 469.4 MB, free: 41.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.2934, allocations: 1.714 MB / 471.1 MB, free: 40.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.2937, allocations: 0.9725 MB / 472 MB, free: 39.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004076/0.2942, allocations: 151.2 kB / 472.2 MB, free: 39.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.2943, allocations: 44.41 kB / 472.2 MB, free: 39.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2943, allocations: 0 / 472.2 MB, free: 39.32 MB / 382.1 MB Notification: Performance of Templates: time 0.009416/0.3037, allocations: 6.553 MB / 478.8 MB, free: 38.89 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialState/Continuous_InitialState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches