Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.0007992/0.0007992, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003843/0.003843, allocations: 162.2 kB / 24.7 MB, free: 9.426 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.8505/0.8505, allocations: 177.1 MB / 205 MB, free: 5.738 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.535e-05, allocations: 12.33 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001913/0.001938, allocations: 1.609 MB / 327.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.002656, allocations: 0.5375 MB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.002735, allocations: 11.94 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.002779, allocations: 3.938 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.002917, allocations: 11.86 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.003194, allocations: 75.61 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.003291, allocations: 43.8 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.003385, allocations: 16.17 kB / 328.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003498, allocations: 27.97 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.818e-05/0.003546, allocations: 11.92 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.00356, allocations: 4 kB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.583e-05/0.003595, allocations: 12 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.003639, allocations: 19.91 kB / 328.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.00366, allocations: 11.94 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.003788, allocations: 63.73 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.00379, allocations: 0 / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.003791, allocations: 0 / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.003796, allocations: 7.922 kB / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003632/0.004159, allocations: 301.3 kB / 328.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004194, allocations: 8.031 kB / 328.6 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.0043, allocations: 20.88 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.004472, allocations: 150.1 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.004485, allocations: 4.375 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.004495, allocations: 4.375 kB / 328.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.004712, allocations: 118.2 kB / 328.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.00472, allocations: 0 / 328.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.004729, allocations: 3.984 kB / 328.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.004735, allocations: 8 kB / 328.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.68e-05/0.004782, allocations: 23.92 kB / 328.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.005007, allocations: 206.3 kB / 329.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.152e-05/0.005089, allocations: 75.72 kB / 329.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.005129, allocations: 38.56 kB / 329.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.005148, allocations: 3.938 kB / 329.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.005166, allocations: 34.56 kB / 329.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.005167, allocations: 4 kB / 329.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001786/0.005346, allocations: 81.52 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.005399, allocations: 114.8 kB / 329.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.005493, allocations: 148.8 kB / 329.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005504, allocations: 25.7 kB / 329.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.005545, allocations: 92.14 kB / 329.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.00556, allocations: 7.922 kB / 329.7 MB, free: 11.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.005585, allocations: 14.09 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.005663, allocations: 322.8 kB / 330.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.005684, allocations: 7.984 kB / 330.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.005698, allocations: 4 kB / 330.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/0.005737, allocations: 24.84 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005739, allocations: 0 / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.201e-05/0.005801, allocations: 49.58 kB / 330.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.005812, allocations: 4 kB / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005816, allocations: 8.094 kB / 330.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.005827, allocations: 0 / 330.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.433e-05/0.005872, allocations: 3.984 kB / 330.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.005877, allocations: 4 kB / 330.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.005893, allocations: 7.938 kB / 330.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.005899, allocations: 4 kB / 330.2 MB, free: 10.71 MB / 298.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 5.781e-05/0.005957, allocations: 117.8 kB / 330.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.006001, allocations: 57.59 kB / 330.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.006024, allocations: 11.95 kB / 330.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006026, allocations: 4.062 kB / 330.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.006029, allocations: 0 / 330.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006033, allocations: 4 kB / 330.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.104e-05/0.006124, allocations: 117.2 kB / 330.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006125, allocations: 0 / 330.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.006153, allocations: 11.98 kB / 330.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006156, allocations: 4 kB / 330.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.006161, allocations: 0 / 330.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006162, allocations: 0 / 330.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006163, allocations: 0 / 330.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.006272, allocations: 185.1 kB / 330.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.006302, allocations: 27.89 kB / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-06/0.006312, allocations: 0 / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.006345, allocations: 4 kB / 330.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.006375, allocations: 7.984 kB / 330.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.006378, allocations: 0 / 330.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.618e-05/0.006424, allocations: 111.2 kB / 330.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006424, allocations: 0 / 330.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000137/0.006561, allocations: 7.984 kB / 330.8 MB, free: 9.988 MB / 298.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 (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 6.105e-05/0.006623, allocations: 99.25 kB / 330.9 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.325e-05/0.006706, allocations: 27.92 kB / 331 MB, free: 9.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006707, allocations: 0 / 331 MB, free: 9.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.006726, allocations: 11.98 kB / 331 MB, free: 9.844 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.006961, allocations: 19.97 kB / 331 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.007223, allocations: 216.6 kB / 331.2 MB, free: 9.574 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.59e-05/0.007279, allocations: 83.39 kB / 331.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.007305, allocations: 12.5 kB / 331.3 MB, free: 9.461 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007306, allocations: 0 / 331.3 MB, free: 9.461 MB / 298.7 MB Notification: Performance of Templates: time 0.001519/0.008825, allocations: 0.8298 MB / 332.1 MB, free: 8.633 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.9284437960013747]