Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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) 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(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") [: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.00183/0.00183, allocations: 204.4 kB / 8.543 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.554/1.554, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 95.7 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.151e-05/1.197e-05, allocations: 0 / 343.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1624, allocations: 51.47 MB / 394.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/0.516, allocations: 78.25 MB / 472.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.5164, allocations: 64.25 kB / 472.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01018/0.5266, allocations: 3.663 MB / 476.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.5267, allocations: 7.938 kB / 476.6 MB, free: 11.54 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007054/0.5274, allocations: 483.3 kB / 477.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5274, allocations: 8.031 kB / 477.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003022/0.5277, allocations: 50.75 kB / 477.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.528, allocations: 228.9 kB / 477.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5281, allocations: 16.56 kB / 477.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.5281, allocations: 12 kB / 477.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002884/0.5284, allocations: 114.1 kB / 477.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.5287, allocations: 175.2 kB / 477.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5288, allocations: 0 / 477.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.5288, allocations: 0 / 477.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.5288, allocations: 8 kB / 477.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.53, allocations: 0.7552 MB / 478.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.5302, allocations: 132 kB / 478.5 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.5304, allocations: 89.91 kB / 478.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.5304, allocations: 0 / 478.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.5305, allocations: 38.56 kB / 478.7 MB, free: 9.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.273e-06/0.5305, allocations: 0 / 478.7 MB, free: 9.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001224/0.5317, allocations: 0.7142 MB / 479.4 MB, free: 9.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.5318, allocations: 81.11 kB / 479.5 MB, free: 8.965 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.5319, allocations: 140.6 kB / 479.6 MB, free: 8.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5319, allocations: 25.7 kB / 479.6 MB, free: 8.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.532, allocations: 132.5 kB / 479.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.532, allocations: 87.47 kB / 479.8 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.532, allocations: 0 / 479.8 MB, free: 8.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.5321, allocations: 327.2 kB / 480.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.5322, allocations: 50.83 kB / 480.2 MB, free: 8.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.5323, allocations: 94.66 kB / 480.3 MB, free: 8.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.5325, allocations: 60.72 kB / 480.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5325, allocations: 0 / 480.4 MB, free: 8.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002974/0.5328, allocations: 203.5 kB / 480.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5328, allocations: 4 kB / 480.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5328, allocations: 0 / 480.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.5328, allocations: 8.094 kB / 480.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.5331, allocations: 68.88 kB / 480.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.5332, allocations: 0 / 480.6 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.5333, allocations: 15.84 kB / 480.7 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.5333, allocations: 11.23 kB / 480.7 MB, free: 7.934 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 8.164e-05/0.5334, allocations: 111.7 kB / 480.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.5335, allocations: 15.81 kB / 480.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921e-05/0.5336, allocations: 26.38 kB / 480.8 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5336, allocations: 4 kB / 480.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.5336, allocations: 2.859 kB / 480.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5336, allocations: 0 / 480.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007922/0.5344, allocations: 0.5212 MB / 481.3 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5344, allocations: 4 kB / 481.4 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.5347, allocations: 60.36 kB / 481.4 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.5347, allocations: 4.703 kB / 481.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.5348, allocations: 4.391 kB / 481.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5348, allocations: 4.656 kB / 481.4 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5348, allocations: 8 kB / 481.4 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004786/0.5353, allocations: 493.2 kB / 481.9 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.5353, allocations: 97.75 kB / 482 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.5354, allocations: 4.562 kB / 482 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.5356, allocations: 5.734 kB / 482 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.5357, allocations: 17.25 kB / 482 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.5357, allocations: 9.891 kB / 482 MB, free: 6.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.599e-05/0.5358, allocations: 121.2 kB / 482.2 MB, free: 6.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.5361, allocations: 44 kB / 482.2 MB, free: 6.574 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001471/0.5363, allocations: 102.1 kB / 482.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.5366, allocations: 138.2 kB / 482.4 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5366, allocations: 0 / 482.4 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.5367, allocations: 83.56 kB / 482.5 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.5371, allocations: 34.75 kB / 482.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.5382, allocations: 0.5132 MB / 483.1 MB, free: 5.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.5385, allocations: 0.7774 MB / 483.8 MB, free: 5.027 MB / 346.7 MB Notification: Performance of SimCode: time 4.6e-07/0.5385, allocations: 1.312 kB / 483.8 MB, free: 5.027 MB / 346.7 MB Notification: Performance of Templates: time 0.005366/0.5439, allocations: 1.962 MB / 485.8 MB, free: 3.121 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches