Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [: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 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 181.8 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.152/1.152, allocations: 221.4 MB / 229.9 MB, free: 3.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008928/0.0008929, allocations: 92.31 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.32e-06/5.35e-06, allocations: 0 / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1932, allocations: 50.39 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07874/0.2719, allocations: 77.99 MB / 464.9 MB, free: 8.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.2722, allocations: 79.94 kB / 465 MB, free: 8.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.00682/0.279, allocations: 2.304 MB / 467.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.279, allocations: 8 kB / 467.3 MB, free: 6.461 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0004375/0.2795, allocations: 410.1 kB / 467.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2795, allocations: 8.031 kB / 467.7 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.2796, allocations: 15.81 kB / 467.7 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2798, allocations: 207 kB / 467.9 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2798, allocations: 4 kB / 467.9 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.2798, allocations: 11.98 kB / 467.9 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001378/0.28, allocations: 52 kB / 468 MB, free: 5.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.2803, allocations: 200.7 kB / 468.2 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2803, allocations: 4 kB / 468.2 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.2803, allocations: 4 kB / 468.2 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2803, allocations: 3.938 kB / 468.2 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.2809, allocations: 0.5652 MB / 468.7 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.2811, allocations: 116 kB / 468.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.2812, allocations: 56.17 kB / 468.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2812, allocations: 8.078 kB / 468.9 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.2812, allocations: 31.31 kB / 469 MB, free: 4.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.2812, allocations: 0 / 469 MB, free: 4.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.000241/0.2815, allocations: 114.5 kB / 469.1 MB, free: 4.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.2815, allocations: 106.8 kB / 469.2 MB, free: 4.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.2816, allocations: 123.1 kB / 469.3 MB, free: 4.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.2817, allocations: 29.7 kB / 469.3 MB, free: 4.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.2817, allocations: 107.8 kB / 469.4 MB, free: 4.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2817, allocations: 23.7 kB / 469.4 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.2817, allocations: 0.6562 kB / 469.4 MB, free: 4.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.2818, allocations: 330.9 kB / 469.8 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.2819, allocations: 16.38 kB / 469.8 MB, free: 3.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.282, allocations: 126.2 kB / 469.9 MB, free: 3.512 MB / 346.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = 0.0 (PI.y_start = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.2822, allocations: 122.8 kB / 470 MB, free: 3.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2822, allocations: 0 / 470 MB, free: 3.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002154/0.2824, allocations: 149.5 kB / 470.2 MB, free: 3.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2824, allocations: 8.75 kB / 470.2 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2824, allocations: 6.109 kB / 470.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2825, allocations: 4 kB / 470.2 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.2826, allocations: 51.91 kB / 470.2 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2826, allocations: 4 kB / 470.2 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2828, allocations: 28.02 kB / 470.3 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.2828, allocations: 12.69 kB / 470.3 MB, free: 3.113 MB / 346.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: PI.y = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.541e-05/0.2829, allocations: 112.9 kB / 470.4 MB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.283, allocations: 89.47 kB / 470.5 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.2831, allocations: 12.58 kB / 470.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2831, allocations: 7.984 kB / 470.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2831, allocations: 4 kB / 470.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2831, allocations: 0 / 470.5 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2833, allocations: 182.8 kB / 470.7 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2833, allocations: 0 / 470.7 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.2836, allocations: 43.97 kB / 470.7 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2836, allocations: 3.938 kB / 470.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2836, allocations: 0 / 470.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2836, allocations: 5.062 kB / 470.7 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2836, allocations: 4 kB / 470.7 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002939/0.2839, allocations: 358.7 kB / 471.1 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.284, allocations: 85.02 kB / 471.2 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.284, allocations: 8 kB / 471.2 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.2842, allocations: 12.05 kB / 471.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.2842, allocations: 4 kB / 471.2 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.2842, allocations: 7.906 kB / 471.2 MB, free: 2.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.211e-05/0.2843, allocations: 102.4 kB / 471.3 MB, free: 1.992 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003129/0.2846, allocations: 28.08 kB / 471.3 MB, free: 1.965 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001077/0.2847, allocations: 104.2 kB / 471.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.2849, allocations: 87.86 kB / 471.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2849, allocations: 0 / 471.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/0.2849, allocations: 19.94 kB / 471.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2852, allocations: 47.86 kB / 471.6 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.2859, allocations: 302.8 kB / 471.9 MB, free: 1.387 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.2862, allocations: 0.7471 MB / 472.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2862, allocations: 0 / 472.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of Templates: time 0.003315/0.2895, allocations: 1.207 MB / 473.8 MB, free: 15.46 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/ClockedWithDiscretizedContinuousController/ClockedWithDiscretizedContinuousController.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches