Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009216/0.0009216, allocations: 191.1 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 93.56 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1511/0.1511, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.59e-06/5.621e-06, allocations: 224 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2047, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.31, allocations: 95.35 MB / 0.5585 GB, free: 3.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.3102, allocations: 63.97 kB / 0.5586 GB, free: 3.527 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.08004/0.3903, allocations: 28.86 MB / 0.5867 GB, free: 6.574 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.707e-05/0.3904, allocations: 28.38 kB / 0.5868 GB, free: 6.547 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.00171/0.3921, allocations: 0.962 MB / 0.5877 GB, free: 5.539 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.3921, allocations: 8.031 kB / 0.5877 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.3923, allocations: 98.81 kB / 0.5878 GB, free: 5.434 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.3934, allocations: 0.5859 MB / 0.5884 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.3934, allocations: 16 kB / 0.5884 GB, free: 4.793 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.3935, allocations: 39.91 kB / 0.5884 GB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005731/0.3941, allocations: 333.9 kB / 0.5888 GB, free: 4.426 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006813/0.3948, allocations: 0.4907 MB / 0.5892 GB, free: 3.879 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3948, allocations: 7.906 kB / 0.5892 GB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.3948, allocations: 3.984 kB / 0.5892 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3949, allocations: 12 kB / 0.5893 GB, free: 3.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/0.398, allocations: 2.557 MB / 0.5918 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.3984, allocations: 335.4 kB / 0.5921 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.3987, allocations: 200.4 kB / 0.5923 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.3988, allocations: 12.22 kB / 0.5923 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3988, allocations: 38.8 kB / 0.5923 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.473e-06/0.3988, allocations: 0 / 0.5923 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.001213/0.4, allocations: 0.7717 MB / 0.5931 GB, free: 15.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.4001, allocations: 106.8 kB / 0.5932 GB, free: 15.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.4006, allocations: 0.4959 MB / 0.5937 GB, free: 15.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.4006, allocations: 25.7 kB / 0.5937 GB, free: 15.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.4008, allocations: 248.6 kB / 0.5939 GB, free: 14.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.4009, allocations: 177.4 kB / 0.5941 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.4009, allocations: 64 / 0.5941 GB, free: 14.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4011, allocations: 387.8 kB / 0.5945 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.4014, allocations: 201.2 kB / 0.5946 GB, free: 14.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.4018, allocations: 342.4 kB / 0.595 GB, free: 13.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.4022, allocations: 252.2 kB / 0.5952 GB, free: 13.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4022, allocations: 7.906 kB / 0.5952 GB, free: 13.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009416/0.4032, allocations: 0.629 MB / 0.5958 GB, free: 12.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004628/0.4037, allocations: 1.742 MB / 0.5975 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4037, allocations: 4 kB / 0.5975 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4037, allocations: 8 kB / 0.5975 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.4047, allocations: 215.7 kB / 0.5978 GB, free: 10.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4047, allocations: 11.94 kB / 0.5978 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.4053, allocations: 79.53 kB / 0.5978 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.4053, allocations: 24 kB / 0.5979 GB, free: 10.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-06/0.4053, allocations: 4 kB / 0.5979 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008462/0.4062, allocations: 0.5344 MB / 0.5984 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4062, allocations: 7.984 kB / 0.5984 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.4062, allocations: 8 kB / 0.5984 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/0.4072, allocations: 216.2 kB / 0.5986 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4072, allocations: 8 kB / 0.5986 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.4077, allocations: 75.55 kB / 0.5987 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.4077, allocations: 28 kB / 0.5987 GB, free: 9.754 MB / 442.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.0001136/0.4078, allocations: 124.7 kB / 0.5988 GB, free: 9.625 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.408, allocations: 75.05 kB / 0.5989 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.4081, allocations: 82.78 kB / 0.599 GB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4081, allocations: 11.94 kB / 0.599 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4082, allocations: 0 / 0.599 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.4082, allocations: 7.984 kB / 0.599 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.4096, allocations: 1.123 MB / 0.6001 GB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4096, allocations: 0 / 0.6001 GB, free: 8.277 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/0.4103, allocations: 115.9 kB / 0.6002 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.4103, allocations: 4 kB / 0.6002 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.4104, allocations: 15.98 kB / 0.6002 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4104, allocations: 7.906 kB / 0.6002 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4104, allocations: 0 / 0.6002 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001092/0.4115, allocations: 1.004 MB / 0.6012 GB, free: 7.086 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.4117, allocations: 204 kB / 0.6014 GB, free: 6.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/0.4118, allocations: 4 kB / 0.6014 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.4124, allocations: 47.95 kB / 0.6015 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.4125, allocations: 47.88 kB / 0.6015 GB, free: 6.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.4125, allocations: 12 kB / 0.6015 GB, free: 6.758 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0003722/0.4129, allocations: 387.1 kB / 0.6019 GB, free: 6.383 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007154/0.4136, allocations: 195.9 kB / 0.6021 GB, free: 6.191 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.0002555/0.4139, allocations: 139.1 kB / 0.6022 GB, free: 6.047 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.4151, allocations: 0.7974 MB / 0.603 GB, free: 5.246 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4151, allocations: 0 / 0.603 GB, free: 5.246 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.4155, allocations: 227.8 kB / 0.6032 GB, free: 5.023 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.4162, allocations: 165.1 kB / 0.6034 GB, free: 4.863 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.4183, allocations: 1.197 MB / 0.6045 GB, free: 3.613 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/0.419, allocations: 1.018 MB / 0.6055 GB, free: 2.562 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/0.419, allocations: 4 kB / 0.6055 GB, free: 2.559 MB / 442.7 MB Notification: Performance of Templates: time 0.01649/0.4355, allocations: 11.01 MB / 0.6163 GB, free: 7.582 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches