Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001141/0.001141, allocations: 196.8 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008824/0.0008826, allocations: 86.55 kB / 286.3 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 45.16 MB / 383.4 MB, free: 468 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/6.012e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 63.25 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4553, allocations: 86.39 MB / 0.5881 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.4555, allocations: 57.41 kB / 0.5882 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002337/0.4579, allocations: 0.7268 MB / 0.5889 GB, free: 15.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.4579, allocations: 0 / 0.5889 GB, free: 15.93 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.0003477/0.4583, allocations: 345.8 kB / 0.5892 GB, free: 15.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4583, allocations: 8.031 kB / 0.5892 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.4584, allocations: 7.906 kB / 0.5892 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.4586, allocations: 178.2 kB / 0.5894 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4586, allocations: 0 / 0.5894 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.4586, allocations: 4 kB / 0.5894 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.42e-05/0.4587, allocations: 15.44 kB / 0.5894 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.962e-05/0.4588, allocations: 55.7 kB / 0.5895 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4588, allocations: 3.938 kB / 0.5895 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4588, allocations: 0 / 0.5895 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.4588, allocations: 4 kB / 0.5895 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.4593, allocations: 418.8 kB / 0.5899 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.4594, allocations: 25.03 kB / 0.5899 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.4594, allocations: 12.48 kB / 0.5899 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.4595, allocations: 6.641 kB / 0.5899 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4595, allocations: 38.5 kB / 0.59 GB, free: 14.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4595, allocations: 4 kB / 0.59 GB, free: 14.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003083/0.4598, allocations: 68.58 kB / 0.59 GB, free: 14.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.4599, allocations: 51.41 kB / 0.5901 GB, free: 14.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.4599, allocations: 108.9 kB / 0.5902 GB, free: 14.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.46, allocations: 25.7 kB / 0.5902 GB, free: 14.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.46, allocations: 84.05 kB / 0.5903 GB, free: 14.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.46, allocations: 19.31 kB / 0.5903 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.4601, allocations: 0 / 0.5903 GB, free: 14.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4602, allocations: 322.5 kB / 0.5906 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.4602, allocations: 15.75 kB / 0.5906 GB, free: 14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.4602, allocations: 26.88 kB / 0.5907 GB, free: 13.97 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.907e-05/0.4603, allocations: 15.86 kB / 0.5907 GB, free: 13.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.4603, allocations: 0 / 0.5907 GB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001217/0.4604, allocations: 73.22 kB / 0.5908 GB, free: 13.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4604, allocations: 7.938 kB / 0.5908 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4604, allocations: 0 / 0.5908 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4605, allocations: 4.234 kB / 0.5908 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.4605, allocations: 12 kB / 0.5908 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4605, allocations: 0 / 0.5908 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.4606, allocations: 15.92 kB / 0.5908 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.4606, allocations: 0 / 0.5908 GB, free: 13.85 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 6.459e-05/0.4607, allocations: 113.1 kB / 0.5909 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.4607, allocations: 4.125 kB / 0.5909 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.4608, allocations: 11.62 kB / 0.5909 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4608, allocations: 3.938 kB / 0.5909 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4608, allocations: 0 / 0.5909 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4608, allocations: 0 / 0.5909 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.4609, allocations: 152.7 kB / 0.5911 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4609, allocations: 0 / 0.5911 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.358e-05/0.461, allocations: 19.98 kB / 0.5911 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.461, allocations: 0 / 0.5911 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.461, allocations: 0 / 0.5911 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.461, allocations: 0 / 0.5911 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4611, allocations: 0 / 0.5911 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001596/0.4612, allocations: 162.7 kB / 0.5912 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.4613, allocations: 81.02 kB / 0.5913 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.4613, allocations: 0 / 0.5913 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.4614, allocations: 12.09 kB / 0.5913 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.4614, allocations: 0 / 0.5913 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4614, allocations: 4 kB / 0.5913 GB, free: 13.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.688e-05/0.4615, allocations: 83.22 kB / 0.5914 GB, free: 13.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.4617, allocations: 8 kB / 0.5914 GB, free: 13.14 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.0001192/0.4618, allocations: 95.23 kB / 0.5915 GB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.255e-05/0.4619, allocations: 27.06 kB / 0.5915 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4619, allocations: 4.188 kB / 0.5915 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/0.4619, allocations: 11.25 kB / 0.5915 GB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.4621, allocations: 12 kB / 0.5916 GB, free: 13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.4625, allocations: 99.78 kB / 0.5917 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/0.4628, allocations: 0.7032 MB / 0.5923 GB, free: 12.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4628, allocations: 0 / 0.5923 GB, free: 12.16 MB / 394.7 MB Notification: Performance of Templates: time 0.002128/0.4649, allocations: 489.3 kB / 0.5928 GB, free: 11.69 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches