Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 168.2 kB / 24.91 MB, free: 9.16 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9971/0.9971, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.997e-05, allocations: 2.312 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.004039/0.004069, allocations: 1.68 MB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.005199, allocations: 0.5296 MB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.958e-05/0.005298, allocations: 7.938 kB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.852e-05/0.005357, allocations: 3.938 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.005529, allocations: 19.86 kB / 275.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.005861, allocations: 47.77 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.005992, allocations: 55.77 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.006092, allocations: 15.94 kB / 275.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.006255, allocations: 27.91 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.333e-05/0.006319, allocations: 15.97 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.006339, allocations: 4 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.006404, allocations: 4 kB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.006457, allocations: 19.92 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.006489, allocations: 11.94 kB / 275.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.006643, allocations: 47.77 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.006647, allocations: 0 / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006648, allocations: 0 / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.006654, allocations: 4 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004189/0.007073, allocations: 280.5 kB / 276.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.007121, allocations: 12.03 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.007284, allocations: 20.92 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.007492, allocations: 133.7 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.007506, allocations: 8.312 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.007515, allocations: 4.375 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.007744, allocations: 122.2 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.007753, allocations: 192 / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.007762, allocations: 4.375 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.00777, allocations: 3.938 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.007795, allocations: 4 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.008028, allocations: 157.1 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.008163, allocations: 45.14 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.008195, allocations: 17.78 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.008212, allocations: 4 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.008244, allocations: 38.5 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.008245, allocations: 0 / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001624/0.008408, allocations: 57.55 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.008461, allocations: 77.11 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.008565, allocations: 141.6 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.008579, allocations: 29.7 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.008619, allocations: 80.14 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.008635, allocations: 3.953 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.008671, allocations: 17.84 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.008782, allocations: 322.8 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.008791, allocations: 0 / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.008798, allocations: 0 / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.008825, allocations: 8.859 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008827, allocations: 0 / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.743e-05/0.008894, allocations: 37.62 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.008912, allocations: 8 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.008917, allocations: 0 / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.008934, allocations: 3.938 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.008977, allocations: 4.094 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.00898, allocations: 0 / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.009007, allocations: 11.98 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.009013, allocations: 0 / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.917e-05/0.009083, allocations: 108.7 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.009148, allocations: 45.86 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.009176, allocations: 16.22 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.423e-06/0.009183, allocations: 7.938 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.009189, allocations: 0 / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.009192, allocations: 0 / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.009341, allocations: 77.88 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.009343, allocations: 0 / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.009385, allocations: 11.98 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009388, allocations: 0 / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.009394, allocations: 0 / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.009398, allocations: 4 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.009401, allocations: 4 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.009506, allocations: 136.3 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.009542, allocations: 15.95 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.009555, allocations: 3.938 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.00963, allocations: 8.016 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.009659, allocations: 7.938 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.009664, allocations: 0 / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.009698, allocations: 24.83 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009698, allocations: 0 / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.009974, allocations: 8 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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 0.0001053/0.01008, allocations: 76.42 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.01015, allocations: 16.84 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.01015, allocations: 0 / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.649e-05/0.01017, allocations: 12.86 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.01047, allocations: 27.56 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005214/0.01099, allocations: 175 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.164e-05/0.01105, allocations: 59.34 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.615e-05/0.01108, allocations: 4 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.989e-05/0.01114, allocations: 59.36 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01114, allocations: 4.062 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Templates: time 0.003041/0.01418, allocations: 0.5748 MB / 279.1 MB, free: 11.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.617502792738378]