Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001706, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 226.5 MB / 245.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008045/0.0008047, allocations: 103 kB / 297.5 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3863/0.3863, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 15.97 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3958, allocations: 62.96 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5297, allocations: 97.86 MB / 0.614 GB, free: 7.418 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.53, allocations: 71.95 kB / 0.6141 GB, free: 7.352 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08093/0.6109, allocations: 28 MB / 0.6414 GB, free: 11.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.611, allocations: 0 / 0.6414 GB, free: 11.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001116/0.6111, allocations: 27.92 kB / 0.6414 GB, free: 11.23 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.002951/0.6141, allocations: 1.09 MB / 0.6425 GB, free: 10.08 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.6141, allocations: 11.97 kB / 0.6425 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005496/0.6147, allocations: 107.9 kB / 0.6426 GB, free: 9.965 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.6162, allocations: 0.6139 MB / 0.6432 GB, free: 9.309 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.6162, allocations: 37.38 kB / 0.6432 GB, free: 9.273 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.6164, allocations: 56.38 kB / 0.6433 GB, free: 9.219 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.6177, allocations: 0.6296 MB / 0.6439 GB, free: 8.531 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.6178, allocations: 4.188 kB / 0.6439 GB, free: 8.527 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.6178, allocations: 19.94 kB / 0.6439 GB, free: 8.508 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.6179, allocations: 12 kB / 0.6439 GB, free: 8.496 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.6191, allocations: 0.4978 MB / 0.6444 GB, free: 8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004721/0.6239, allocations: 2.71 MB / 0.6471 GB, free: 5.188 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.6252, allocations: 0.5756 MB / 0.6476 GB, free: 4.586 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/0.6258, allocations: 274.5 kB / 0.6479 GB, free: 4.309 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.6259, allocations: 4 kB / 0.6479 GB, free: 4.305 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.6259, allocations: 38.56 kB / 0.6479 GB, free: 4.258 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 3.156e-06/0.626, allocations: 0 / 0.6479 GB, free: 4.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002773/0.6287, allocations: 1.21 MB / 0.6491 GB, free: 3.039 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/0.6288, allocations: 136.5 kB / 0.6493 GB, free: 2.875 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6299, allocations: 0.6568 MB / 0.6499 GB, free: 2.207 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.63, allocations: 33.7 kB / 0.6499 GB, free: 2.168 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.6303, allocations: 352.1 kB / 0.6503 GB, free: 1.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.6305, allocations: 177.4 kB / 0.6504 GB, free: 1.645 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.6305, allocations: 16 kB / 0.6504 GB, free: 1.629 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.6307, allocations: 329.9 kB / 0.6508 GB, free: 1.301 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.6313, allocations: 297.1 kB / 0.651 GB, free: 1.008 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.6321, allocations: 444.7 kB / 0.6515 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.6334, allocations: 0.7224 MB / 0.6522 GB, free: 15.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6334, allocations: 0 / 0.6522 GB, free: 15.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001692/0.6351, allocations: 0.8377 MB / 0.653 GB, free: 14.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.6353, allocations: 224.7 kB / 0.6532 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6353, allocations: 4 kB / 0.6532 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.6354, allocations: 8 kB / 0.6532 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.6361, allocations: 159.7 kB / 0.6534 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.6361, allocations: 15.92 kB / 0.6534 GB, free: 14.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006279/0.6367, allocations: 95.62 kB / 0.6535 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.6368, allocations: 24 kB / 0.6535 GB, free: 14.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.6368, allocations: 7.938 kB / 0.6535 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001421/0.6382, allocations: 0.7177 MB / 0.6542 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6383, allocations: 4 kB / 0.6542 GB, free: 13.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.6383, allocations: 8 kB / 0.6542 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.6389, allocations: 156.3 kB / 0.6544 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.6389, allocations: 11.94 kB / 0.6544 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.6395, allocations: 87.53 kB / 0.6545 GB, free: 13.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.6395, allocations: 28 kB / 0.6545 GB, free: 13.29 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.0004388/0.64, allocations: 292.8 kB / 0.6548 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.6402, allocations: 71.16 kB / 0.6548 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.6404, allocations: 86.22 kB / 0.6549 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.6404, allocations: 4 kB / 0.6549 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.6404, allocations: 0 / 0.6549 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.6404, allocations: 7.984 kB / 0.6549 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.6418, allocations: 0.8414 MB / 0.6558 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.6419, allocations: 8.047 kB / 0.6558 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.6425, allocations: 119.8 kB / 0.6559 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.6425, allocations: 4 kB / 0.6559 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.6426, allocations: 12 kB / 0.6559 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.6426, allocations: 7.984 kB / 0.6559 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.6426, allocations: 3.938 kB / 0.6559 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.6447, allocations: 1.204 MB / 0.6571 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.645, allocations: 200.1 kB / 0.6573 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/0.6451, allocations: 15.98 kB / 0.6573 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.6457, allocations: 67.94 kB / 0.6573 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.6458, allocations: 35.89 kB / 0.6574 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.453e-05/0.6458, allocations: 19.98 kB / 0.6574 GB, free: 10.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007275/0.6466, allocations: 459 kB / 0.6578 GB, free: 9.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6466, allocations: 0 / 0.6578 GB, free: 9.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008627/0.6475, allocations: 200 kB / 0.658 GB, free: 9.555 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.0002058/0.6477, allocations: 123.1 kB / 0.6581 GB, free: 9.426 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.6499, allocations: 1.025 MB / 0.6591 GB, free: 8.402 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6499, allocations: 128 / 0.6591 GB, free: 8.402 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000647/0.6506, allocations: 307.7 kB / 0.6594 GB, free: 8.102 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.6517, allocations: 171.9 kB / 0.6596 GB, free: 7.941 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.6547, allocations: 1.711 MB / 0.6613 GB, free: 6.188 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.6553, allocations: 0.9497 MB / 0.6622 GB, free: 5.211 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00061/0.656, allocations: 156.8 kB / 0.6624 GB, free: 5.055 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.6561, allocations: 43.44 kB / 0.6624 GB, free: 5.016 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6561, allocations: 0 / 0.6624 GB, free: 5.016 MB / 474.7 MB Notification: Performance of Templates: time 0.01464/0.6708, allocations: 6.753 MB / 0.669 GB, free: 14.32 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Blocks.Continuous_InitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches