Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_cpp_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_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 190.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 226.5 MB / 244.1 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008421/0.000842, allocations: 106.8 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3305/0.3305, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002559, allocations: 15.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4002, allocations: 62.96 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.5383, allocations: 97.86 MB / 0.612 GB, free: 7.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5386, allocations: 67.97 kB / 0.6121 GB, free: 7.434 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07536/0.614, allocations: 28 MB / 0.6395 GB, free: 11.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.614, allocations: 0 / 0.6395 GB, free: 11.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.907e-05/0.6141, allocations: 27.92 kB / 0.6395 GB, free: 11.31 MB / 458.7 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.002078/0.6162, allocations: 1.09 MB / 0.6405 GB, free: 10.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6162, allocations: 8.031 kB / 0.6406 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.6166, allocations: 111.9 kB / 0.6407 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.6176, allocations: 0.61 MB / 0.6413 GB, free: 9.398 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.6177, allocations: 41.38 kB / 0.6413 GB, free: 9.359 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.6178, allocations: 64.36 kB / 0.6414 GB, free: 9.297 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.6189, allocations: 0.6296 MB / 0.642 GB, free: 8.609 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.6189, allocations: 192 / 0.642 GB, free: 8.609 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.316e-05/0.619, allocations: 23.94 kB / 0.642 GB, free: 8.586 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.619, allocations: 12 kB / 0.642 GB, free: 8.574 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.62, allocations: 0.4939 MB / 0.6425 GB, free: 8.082 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.6238, allocations: 2.706 MB / 0.6451 GB, free: 5.273 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.6254, allocations: 0.5805 MB / 0.6457 GB, free: 4.668 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008041/0.6262, allocations: 270.4 kB / 0.646 GB, free: 4.395 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.6263, allocations: 8 kB / 0.646 GB, free: 4.387 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.6263, allocations: 46.53 kB / 0.646 GB, free: 4.332 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 3.586e-06/0.6263, allocations: 0 / 0.646 GB, free: 4.332 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.003481/0.6298, allocations: 1.209 MB / 0.6472 GB, free: 3.113 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/0.6299, allocations: 140.5 kB / 0.6473 GB, free: 2.945 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.6312, allocations: 0.649 MB / 0.648 GB, free: 2.285 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.6313, allocations: 37.7 kB / 0.648 GB, free: 2.242 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.6317, allocations: 348.1 kB / 0.6483 GB, free: 1.898 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.6319, allocations: 177.4 kB / 0.6485 GB, free: 1.723 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.924e-05/0.632, allocations: 20 kB / 0.6485 GB, free: 1.703 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6322, allocations: 329.9 kB / 0.6488 GB, free: 1.375 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008928/0.6331, allocations: 293.1 kB / 0.6491 GB, free: 1.086 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009774/0.6341, allocations: 444.7 kB / 0.6495 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.636, allocations: 0.7225 MB / 0.6502 GB, free: 15.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.636, allocations: 4 kB / 0.6502 GB, free: 15.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002422/0.6384, allocations: 0.8337 MB / 0.6511 GB, free: 14.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.6386, allocations: 222.1 kB / 0.6513 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.6387, allocations: 4 kB / 0.6513 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-05/0.6387, allocations: 8 kB / 0.6513 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009673/0.6397, allocations: 163.7 kB / 0.6514 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.671e-05/0.6397, allocations: 15.94 kB / 0.6514 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/0.6406, allocations: 87.62 kB / 0.6515 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.6407, allocations: 24 kB / 0.6516 GB, free: 14.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.6407, allocations: 8 kB / 0.6516 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001979/0.6427, allocations: 0.7177 MB / 0.6523 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6427, allocations: 4.531 kB / 0.6523 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.6427, allocations: 8 kB / 0.6523 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/0.6436, allocations: 155.8 kB / 0.6524 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.6436, allocations: 11.94 kB / 0.6524 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.6444, allocations: 91.53 kB / 0.6525 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.6444, allocations: 27.94 kB / 0.6525 GB, free: 13.36 MB / 474.7 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.0005633/0.645, allocations: 288.9 kB / 0.6528 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.6452, allocations: 71.16 kB / 0.6529 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.6455, allocations: 86.2 kB / 0.653 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.6455, allocations: 8 kB / 0.653 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.6455, allocations: 4 kB / 0.653 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6455, allocations: 3.984 kB / 0.653 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.6473, allocations: 0.8414 MB / 0.6538 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.6473, allocations: 0 / 0.6538 GB, free: 12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/0.6482, allocations: 111.9 kB / 0.6539 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.6482, allocations: 4 kB / 0.6539 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.6483, allocations: 23.92 kB / 0.6539 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.6483, allocations: 4 kB / 0.6539 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6484, allocations: 7.938 kB / 0.654 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.6512, allocations: 1.21 MB / 0.6551 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.6515, allocations: 204.1 kB / 0.6553 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6517, allocations: 12 kB / 0.6553 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/0.6525, allocations: 67.94 kB / 0.6554 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.6526, allocations: 39.88 kB / 0.6554 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.6527, allocations: 12 kB / 0.6555 GB, free: 10.28 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009231/0.6536, allocations: 459 kB / 0.6559 GB, free: 9.832 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6536, allocations: 0 / 0.6559 GB, free: 9.832 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001243/0.6549, allocations: 204 kB / 0.6561 GB, free: 9.633 MB / 474.7 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.0002418/0.6552, allocations: 123.1 kB / 0.6562 GB, free: 9.504 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.6582, allocations: 1.021 MB / 0.6572 GB, free: 8.484 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6582, allocations: 0 / 0.6572 GB, free: 8.484 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009066/0.6591, allocations: 307.7 kB / 0.6575 GB, free: 8.184 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.6607, allocations: 172.6 kB / 0.6577 GB, free: 8.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.6647, allocations: 1.751 MB / 0.6594 GB, free: 6.219 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007472/0.6655, allocations: 0.9458 MB / 0.6603 GB, free: 5.246 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.6658, allocations: 55.42 kB / 0.6603 GB, free: 5.195 MB / 474.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6658, allocations: 0 / 0.6603 GB, free: 5.195 MB / 474.7 MB Notification: Performance of Templates: time 0.01688/0.6827, allocations: 8.732 MB / 0.6689 GB, free: 12.5 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches