Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") [: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.0008661/0.0008663, allocations: 187.8 kB / 7.804 MB, free: 2.492 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.024/1.024, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0007741/0.0007739, allocations: 90.08 kB / 261.4 MB, free: 13.54 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.1502/0.1502, allocations: 43.48 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/5.971e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09559/0.303, allocations: 84.23 MB / 0.5476 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001703/0.3032, allocations: 63.95 kB / 0.5477 GB, free: 14.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.002243/0.3055, allocations: 0.7124 MB / 0.5484 GB, free: 13.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3055, allocations: 0 / 0.5484 GB, free: 13.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002832/0.3058, allocations: 342.3 kB / 0.5487 GB, free: 13.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.3058, allocations: 8.031 kB / 0.5487 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.3059, allocations: 7.906 kB / 0.5487 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.306, allocations: 179 kB / 0.5489 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.306, allocations: 4 kB / 0.5489 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.3061, allocations: 0 / 0.5489 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.061e-05/0.3061, allocations: 15.94 kB / 0.5489 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.913e-05/0.3062, allocations: 60.27 kB / 0.549 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.3062, allocations: 4 kB / 0.549 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.3062, allocations: 0 / 0.549 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3062, allocations: 0 / 0.549 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.3066, allocations: 428.1 kB / 0.5494 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.3067, allocations: 29.72 kB / 0.5494 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.3068, allocations: 16.78 kB / 0.5494 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/0.3068, allocations: 3.906 kB / 0.5495 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.3068, allocations: 30.56 kB / 0.5495 GB, free: 12.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3068, allocations: 0 / 0.5495 GB, free: 12.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002602/0.3071, allocations: 73.52 kB / 0.5495 GB, free: 12.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.3071, allocations: 55.41 kB / 0.5496 GB, free: 12.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.3072, allocations: 101.2 kB / 0.5497 GB, free: 12.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.3072, allocations: 33.69 kB / 0.5497 GB, free: 12.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.3073, allocations: 88.05 kB / 0.5498 GB, free: 12.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.3073, allocations: 15.75 kB / 0.5498 GB, free: 12.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-06/0.3073, allocations: 2.953 kB / 0.5498 GB, free: 12.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.3074, allocations: 322.8 kB / 0.5501 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.3074, allocations: 4 kB / 0.5501 GB, free: 11.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.3074, allocations: 35.44 kB / 0.5502 GB, free: 11.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.406e-05/0.3075, allocations: 12 kB / 0.5502 GB, free: 11.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3075, allocations: 0 / 0.5502 GB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.307e-05/0.3076, allocations: 73.45 kB / 0.5503 GB, free: 11.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3076, allocations: 8 kB / 0.5503 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3076, allocations: 0 / 0.5503 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.3076, allocations: 0 / 0.5503 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.3077, allocations: 16.09 kB / 0.5503 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.3077, allocations: 0 / 0.5503 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.3077, allocations: 7.984 kB / 0.5503 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.3077, allocations: 4 kB / 0.5503 GB, free: 11.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.504e-05/0.3078, allocations: 105 kB / 0.5504 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3078, allocations: 7.906 kB / 0.5504 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.3079, allocations: 4 kB / 0.5504 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3079, allocations: 0 / 0.5504 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3079, allocations: 8 kB / 0.5504 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3079, allocations: 0 / 0.5504 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.308, allocations: 158 kB / 0.5506 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.308, allocations: 0 / 0.5506 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.3081, allocations: 12.36 kB / 0.5506 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3081, allocations: 0 / 0.5506 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3081, allocations: 0 / 0.5506 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3081, allocations: 4 kB / 0.5506 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3081, allocations: 3.938 kB / 0.5506 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001264/0.3083, allocations: 159.7 kB / 0.5507 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.3083, allocations: 85.02 kB / 0.5508 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3083, allocations: 3.938 kB / 0.5508 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.3084, allocations: 0 / 0.5508 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.3084, allocations: 8.031 kB / 0.5508 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.3084, allocations: 0 / 0.5508 GB, free: 11.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.602e-05/0.3085, allocations: 87.28 kB / 0.5509 GB, free: 11.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.3087, allocations: 8.062 kB / 0.5509 GB, free: 11.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001011/0.3088, allocations: 107.5 kB / 0.551 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.238e-05/0.3089, allocations: 24 kB / 0.551 GB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3089, allocations: 0 / 0.551 GB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.3089, allocations: 16.03 kB / 0.5511 GB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.3091, allocations: 11.17 kB / 0.5511 GB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.3094, allocations: 96.56 kB / 0.5512 GB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.3096, allocations: 0.7032 MB / 0.5518 GB, free: 10.06 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3096, allocations: 0 / 0.5518 GB, free: 10.06 MB / 394.7 MB Notification: Performance of Templates: time 0.001969/0.3116, allocations: 492 kB / 0.5523 GB, free: 9.582 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches