Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.0008273/0.0008273, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008395/0.0008395, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9035/0.9035, allocations: 177.1 MB / 205 MB, free: 5.621 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.551e-05, allocations: 2.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001991/0.002007, allocations: 1.749 MB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003459/0.002353, allocations: 167.3 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.329e-05/0.002436, allocations: 4 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.837e-05/0.002484, allocations: 7.875 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.00262, allocations: 15.91 kB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.002848, allocations: 51.77 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.002947, allocations: 51.84 kB / 275 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.003045, allocations: 19.92 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.003095, allocations: 35.91 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.003139, allocations: 11.98 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.003161, allocations: 4 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.003172, allocations: 4 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.003225, allocations: 23.91 kB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.00325, allocations: 19.92 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.00336, allocations: 51.7 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003362, allocations: 4 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003362, allocations: 0 / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.003366, allocations: 0 / 275.2 MB, free: 15.3 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004611/0.003827, allocations: 412.2 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.003861, allocations: 16.03 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.003902, allocations: 12.89 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.004054, allocations: 144.4 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.004065, allocations: 8.375 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.004076, allocations: 8.359 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.004328, allocations: 168.1 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004336, allocations: 8.188 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.004349, allocations: 4.375 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.004357, allocations: 384 / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.039e-05/0.004397, allocations: 23.86 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.004711, allocations: 414.3 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.004887, allocations: 113.3 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.004935, allocations: 47.22 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.004954, allocations: 7.938 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.004981, allocations: 49.38 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.004982, allocations: 0 / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001886/0.005171, allocations: 97.66 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.00522, allocations: 110.8 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.005312, allocations: 196.2 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.005321, allocations: 25.7 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.005366, allocations: 134.9 kB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.00538, allocations: 7.953 kB / 277.2 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.005406, allocations: 23.33 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.005508, allocations: 0.4886 MB / 277.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.005519, allocations: 8 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.005539, allocations: 15.38 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.005569, allocations: 19.38 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.005572, allocations: 4 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.781e-05/0.00562, allocations: 53.61 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.005632, allocations: 7.938 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005637, allocations: 4 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.005651, allocations: 4.125 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.058e-05/0.005681, allocations: 4 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005686, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.005699, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.005704, allocations: 4 kB / 277.8 MB, free: 12.41 MB / 266.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 5.864e-05/0.005763, allocations: 164.5 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.005831, allocations: 73.58 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.005858, allocations: 12.72 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.005862, allocations: 4 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.005865, allocations: 0 / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.005868, allocations: 0 / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.005991, allocations: 140.6 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.005993, allocations: 4 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.006029, allocations: 12 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.006032, allocations: 7.938 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.00604, allocations: 3.984 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.006042, allocations: 3.938 kB / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.006043, allocations: 0 / 278.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.006278, allocations: 386.3 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.006311, allocations: 27.86 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.006322, allocations: 8 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.949e-05/0.006372, allocations: 7.984 kB / 278.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.0064, allocations: 7.938 kB / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.006403, allocations: 0 / 278.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.428e-05/0.006458, allocations: 145.5 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006458, allocations: 4 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.006625, allocations: 8 kB / 278.8 MB, free: 11.33 MB / 266.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.914e-05/0.006694, allocations: 99.23 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.69e-05/0.006781, allocations: 31.62 kB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.006783, allocations: 4 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.006795, allocations: 7.688 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.007098, allocations: 49.39 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.007379, allocations: 208 kB / 279.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.085e-05/0.00742, allocations: 63.34 kB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.042e-05/0.00744, allocations: 7.938 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.007465, allocations: 16.75 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007466, allocations: 0 / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of Templates: time 0.002364/0.00983, allocations: 0.7297 MB / 280 MB, free: 10.06 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.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.6281596492044628]