Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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_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_trunk_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_trunk_ModelicaTest.Blocks.Continuous_InitialOutput") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 199.8 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 225.5 MB / 234.4 MB, free: 3.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008549/0.000855, allocations: 95.16 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2034/0.2034, allocations: 45.15 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.184e-06/7.214e-06, allocations: 4 kB / 452.6 MB, free: 76.24 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 63.24 MB / 0.5038 GB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3712/0.4894, allocations: 97.28 MB / 0.5988 GB, free: 5.773 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4897, allocations: 67.09 kB / 0.5988 GB, free: 5.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.08559/0.5753, allocations: 28.79 MB / 0.627 GB, free: 13.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.134e-05/0.5754, allocations: 27.88 kB / 0.627 GB, free: 13.68 MB / 426.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.001964/0.5774, allocations: 0.9702 MB / 0.6279 GB, free: 12.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5774, allocations: 8.031 kB / 0.6279 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.5778, allocations: 114.9 kB / 0.628 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.579, allocations: 0.5835 MB / 0.6286 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.579, allocations: 12 kB / 0.6286 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/0.5791, allocations: 47.27 kB / 0.6287 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006273/0.5798, allocations: 327 kB / 0.629 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/0.5805, allocations: 0.4902 MB / 0.6295 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.5806, allocations: 3.984 kB / 0.6295 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.5806, allocations: 0 / 0.6295 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.5807, allocations: 12 kB / 0.6295 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.5844, allocations: 2.56 MB / 0.632 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.585, allocations: 337.4 kB / 0.6323 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004584/0.5855, allocations: 198.9 kB / 0.6325 GB, free: 8.621 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.247e-05/0.5856, allocations: 8.141 kB / 0.6325 GB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5856, allocations: 38.42 kB / 0.6325 GB, free: 8.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 2.505e-06/0.5856, allocations: 4 kB / 0.6325 GB, free: 8.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.00205/0.5877, allocations: 0.7737 MB / 0.6333 GB, free: 7.891 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.5878, allocations: 109.8 kB / 0.6334 GB, free: 7.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.5887, allocations: 489.2 kB / 0.6339 GB, free: 7.387 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.5888, allocations: 37.78 kB / 0.6339 GB, free: 7.344 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.589, allocations: 242.2 kB / 0.6341 GB, free: 7.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.5893, allocations: 170.5 kB / 0.6343 GB, free: 6.988 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.5893, allocations: 0 / 0.6343 GB, free: 6.988 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003131/0.5897, allocations: 390.1 kB / 0.6347 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005141/0.5902, allocations: 196.9 kB / 0.6348 GB, free: 6.508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/0.5909, allocations: 348.3 kB / 0.6352 GB, free: 6.188 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.5917, allocations: 250.1 kB / 0.6354 GB, free: 6.016 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5918, allocations: 0 / 0.6354 GB, free: 6.016 MB / 426.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001921/0.5937, allocations: 0.6306 MB / 0.636 GB, free: 5.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008464/0.5946, allocations: 1.749 MB / 0.6377 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.5946, allocations: 4 kB / 0.6377 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.5946, allocations: 8 kB / 0.6378 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/0.5963, allocations: 203.1 kB / 0.6379 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.5964, allocations: 15.92 kB / 0.638 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.5974, allocations: 83.48 kB / 0.638 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.901e-05/0.5976, allocations: 30.44 kB / 0.6381 GB, free: 3.336 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5976, allocations: 4 kB / 0.6381 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001429/0.599, allocations: 0.5172 MB / 0.6386 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.599, allocations: 8.062 kB / 0.6386 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.5991, allocations: 15.97 kB / 0.6386 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.6009, allocations: 211.2 kB / 0.6388 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.6009, allocations: 8 kB / 0.6388 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.6021, allocations: 79.53 kB / 0.6389 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.6022, allocations: 27.25 kB / 0.6389 GB, free: 2.617 MB / 426.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 () * 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.0002961/0.6025, allocations: 125 kB / 0.639 GB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003175/0.6028, allocations: 75.06 kB / 0.6391 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.6033, allocations: 76.7 kB / 0.6392 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6033, allocations: 4 kB / 0.6392 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/0.6033, allocations: 4 kB / 0.6392 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/0.6034, allocations: 3.984 kB / 0.6392 GB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.6064, allocations: 1.129 MB / 0.6403 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.6064, allocations: 0 / 0.6403 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.6078, allocations: 123.8 kB / 0.6404 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.6079, allocations: 4 kB / 0.6404 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.608, allocations: 11.73 kB / 0.6404 GB, free: 1.301 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.608, allocations: 4 kB / 0.6404 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/0.608, allocations: 3.906 kB / 0.6404 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00223/0.6103, allocations: 1.006 MB / 0.6414 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.6108, allocations: 199.1 kB / 0.6416 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.6109, allocations: 7.906 kB / 0.6416 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6121, allocations: 51.95 kB / 0.6417 GB, free: 200 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.6123, allocations: 39.31 kB / 0.6417 GB, free: 168 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.6124, allocations: 11.98 kB / 0.6417 GB, free: 156 kB / 426.7 MB Notification: Performance of sort global known variables: time 0.000798/0.6132, allocations: 376.8 kB / 0.6421 GB, free: 15.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001798/0.6151, allocations: 203.2 kB / 0.6423 GB, free: 15.68 MB / 442.7 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 () * 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.0005275/0.6156, allocations: 159.2 kB / 0.6424 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.6181, allocations: 0.8038 MB / 0.6432 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6182, allocations: 0 / 0.6432 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006657/0.6188, allocations: 224 kB / 0.6434 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.6205, allocations: 157.6 kB / 0.6436 GB, free: 14.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.6248, allocations: 1.199 MB / 0.6447 GB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.626, allocations: 1.024 MB / 0.6457 GB, free: 12.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/0.626, allocations: 0 / 0.6457 GB, free: 12.49 MB / 442.7 MB Notification: Performance of Templates: time 0.03938/0.6654, allocations: 10.97 MB / 0.6564 GB, free: 1.598 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches