Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008187/0.0008187, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00418/0.00418, allocations: 149.4 kB / 24.68 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8423/0.8423, allocations: 173.4 MB / 201.2 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 319.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.998e-05, allocations: 9.594 kB / 319.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001805/0.001825, allocations: 1.669 MB / 321.4 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.002143, allocations: 167.3 kB / 321.5 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.00222, allocations: 7.938 kB / 321.5 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.002261, allocations: 3.938 kB / 321.5 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.002382, allocations: 15.81 kB / 321.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.002566, allocations: 47.77 kB / 321.6 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.567e-05/0.002662, allocations: 55.8 kB / 321.7 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.002755, allocations: 27.95 kB / 321.7 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.002799, allocations: 31.91 kB / 321.7 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.094e-05/0.00284, allocations: 15.92 kB / 321.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.002863, allocations: 8 kB / 321.7 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.002872, allocations: 4 kB / 321.7 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.002919, allocations: 23.91 kB / 321.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.002948, allocations: 19.94 kB / 321.8 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.00305, allocations: 67.7 kB / 321.9 MB, free: 3.555 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003052, allocations: 0 / 321.9 MB, free: 3.555 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003052, allocations: 0 / 321.9 MB, free: 3.555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.003056, allocations: 3.938 kB / 321.9 MB, free: 3.551 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003396/0.003395, allocations: 313.9 kB / 322.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.003428, allocations: 8.922 kB / 322.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.003458, allocations: 16.84 kB / 322.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.003614, allocations: 141.6 kB / 322.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-06/0.003623, allocations: 4.375 kB / 322.3 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.003633, allocations: 4.375 kB / 322.3 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.003882, allocations: 162.4 kB / 322.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.003896, allocations: 192 / 322.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.003906, allocations: 4.375 kB / 322.5 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.003911, allocations: 4.375 kB / 322.5 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.003983, allocations: 43.86 kB / 322.5 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.004234, allocations: 297.6 kB / 322.8 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.004401, allocations: 111.8 kB / 322.9 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.004458, allocations: 54.78 kB / 323 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.004476, allocations: 4 kB / 323 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.004494, allocations: 42.53 kB / 323 MB, free: 2.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.004495, allocations: 0 / 323 MB, free: 2.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002099/0.004705, allocations: 129.4 kB / 323.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003298/0.005035, allocations: 118.7 kB / 323.3 MB, free: 1.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.005117, allocations: 136.2 kB / 323.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.005127, allocations: 29.64 kB / 323.5 MB, free: 1.754 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.005165, allocations: 92.14 kB / 323.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.00518, allocations: 11.94 kB / 323.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.005204, allocations: 13.72 kB / 323.6 MB, free: 1.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.005283, allocations: 314.8 kB / 323.9 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.005302, allocations: 8.234 kB / 323.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/0.005323, allocations: 21.72 kB / 323.9 MB, free: 1.277 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.005364, allocations: 29.64 kB / 323.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005366, allocations: 4 kB / 323.9 MB, free: 1.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.122e-05/0.005428, allocations: 57.58 kB / 324 MB, free: 1.176 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.005441, allocations: 7.938 kB / 324 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.005446, allocations: 0 / 324 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.005457, allocations: 4.125 kB / 324 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.005482, allocations: 7.984 kB / 324 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.005488, allocations: 7.938 kB / 324 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.005502, allocations: 0 / 324 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.005505, allocations: 0 / 324 MB, free: 1.148 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.005567, allocations: 121.8 kB / 324.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.005642, allocations: 77.58 kB / 324.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.005672, allocations: 12.78 kB / 324.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.005675, allocations: 4 kB / 324.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.005679, allocations: 0 / 324.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.005683, allocations: 4 kB / 324.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.005823, allocations: 125.3 kB / 324.4 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.005827, allocations: 8 kB / 324.4 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.005868, allocations: 19.92 kB / 324.4 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.005872, allocations: 4 kB / 324.4 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.00588, allocations: 3.938 kB / 324.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.005881, allocations: 0 / 324.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.005883, allocations: 4 kB / 324.4 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.006126, allocations: 308.3 kB / 324.7 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.006164, allocations: 23.88 kB / 324.7 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.006175, allocations: 8 kB / 324.7 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.006227, allocations: 3.984 kB / 324.7 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.006254, allocations: 7.938 kB / 324.7 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.006258, allocations: 3.938 kB / 324.7 MB, free: 360 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.006306, allocations: 115.1 kB / 324.9 MB, free: 244 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006306, allocations: 4 kB / 324.9 MB, free: 240 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001644/0.00647, allocations: 8 kB / 324.9 MB, free: 232 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.462e-05/0.006535, allocations: 99.25 kB / 325 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.332e-05/0.006628, allocations: 35.92 kB / 325 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.006631, allocations: 4 kB / 325 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.006649, allocations: 7.984 kB / 325 MB, free: 76 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.006963, allocations: 50.48 kB / 325.1 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.007253, allocations: 229.4 kB / 325.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.007313, allocations: 91.47 kB / 325.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.007337, allocations: 12.5 kB / 325.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007337, allocations: 0 / 325.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of Templates: time 0.001459/0.008797, allocations: 0.8703 MB / 326.3 MB, free: 14.76 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.760065710172057]