Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001797/0.001797, allocations: 92.62 kB / 20.96 MB, free: 3.473 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.001682/0.001682, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.524/1.524, allocations: 173.4 MB / 200.8 MB, free: 9.281 MB / 186.7 MB " [Timeout remaining time 178] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 267.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.721e-05, allocations: 2.312 kB / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003719/0.003746, allocations: 1.585 MB / 268.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.004919, allocations: 494.3 kB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.00502, allocations: 7.938 kB / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.021e-05/0.005081, allocations: 3.938 kB / 269.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.005237, allocations: 7.922 kB / 269.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.005597, allocations: 59.7 kB / 269.5 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.005743, allocations: 55.77 kB / 269.5 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.00586, allocations: 8.188 kB / 269.5 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.005976, allocations: 27.97 kB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.056e-05/0.006036, allocations: 15.91 kB / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.00606, allocations: 4 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.006074, allocations: 4 kB / 269.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.006128, allocations: 11.94 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.006172, allocations: 15.92 kB / 269.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.006336, allocations: 55.75 kB / 269.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.006342, allocations: 7.984 kB / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006342, allocations: 0 / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.006347, allocations: 0 / 269.7 MB, free: 4.32 MB / 250.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.0005832/0.00693, allocations: 302 kB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.006972, allocations: 8.031 kB / 270 MB, free: 3.988 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.007043, allocations: 12.84 kB / 270 MB, free: 3.977 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.007328, allocations: 149.6 kB / 270.1 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.007342, allocations: 4.375 kB / 270.1 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.007357, allocations: 4.375 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.007711, allocations: 118.4 kB / 270.3 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.007722, allocations: 4.125 kB / 270.3 MB, free: 3.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.007737, allocations: 8.125 kB / 270.3 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.007741, allocations: 0 / 270.3 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.007844, allocations: 23.97 kB / 270.3 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.008225, allocations: 214.3 kB / 270.5 MB, free: 3.379 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.008375, allocations: 71.78 kB / 270.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.008461, allocations: 30.62 kB / 270.6 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.008486, allocations: 4 kB / 270.6 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.008528, allocations: 38.5 kB / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.008529, allocations: 0 / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003181/0.008847, allocations: 85.5 kB / 270.7 MB, free: 3.102 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.008959, allocations: 115.2 kB / 270.8 MB, free: 2.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.009125, allocations: 141.1 kB / 271 MB, free: 2.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.009147, allocations: 29.7 kB / 271 MB, free: 2.785 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.009218, allocations: 84.14 kB / 271.1 MB, free: 2.699 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.009235, allocations: 7.953 kB / 271.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.00928, allocations: 17.7 kB / 271.1 MB, free: 2.668 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.009488, allocations: 314.8 kB / 271.4 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.00954, allocations: 11.98 kB / 271.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.009568, allocations: 4 kB / 271.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.753e-05/0.009646, allocations: 24.91 kB / 271.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009648, allocations: 3.938 kB / 271.5 MB, free: 2.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001251/0.009773, allocations: 53.58 kB / 271.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.00979, allocations: 4 kB / 271.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009795, allocations: 0 / 271.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.00981, allocations: 0 / 271.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.009887, allocations: 7.984 kB / 271.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.009894, allocations: 0 / 271.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.009926, allocations: 0 / 271.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.009935, allocations: 8.031 kB / 271.5 MB, free: 2.227 MB / 250.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 0.0001139/0.01005, allocations: 113.8 kB / 271.7 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.01016, allocations: 61.52 kB / 271.7 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.0102, allocations: 11.92 kB / 271.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.01021, allocations: 7.984 kB / 271.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01022, allocations: 0 / 271.7 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01022, allocations: 3.938 kB / 271.7 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.01042, allocations: 121.3 kB / 271.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01042, allocations: 0 / 271.9 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/0.01049, allocations: 16.05 kB / 271.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01049, allocations: 0 / 271.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.0105, allocations: 3.938 kB / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01051, allocations: 4 kB / 271.9 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.01051, allocations: 3.938 kB / 271.9 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.01078, allocations: 173.2 kB / 272.1 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.01083, allocations: 15.94 kB / 272.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01084, allocations: 7.938 kB / 272.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.01092, allocations: 0 / 272.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.01097, allocations: 4 kB / 272.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.01097, allocations: 4 kB / 272.1 MB, free: 1.613 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.01108, allocations: 115.2 kB / 272.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01108, allocations: 0 / 272.2 MB, free: 1.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.01132, allocations: 4 kB / 272.2 MB, free: 1.496 MB / 250.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 0.0004025/0.01172, allocations: 99.19 kB / 272.3 MB, free: 1.391 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.01186, allocations: 27.97 kB / 272.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01187, allocations: 0 / 272.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/0.01191, allocations: 12.06 kB / 272.3 MB, free: 1.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.01231, allocations: 28.8 kB / 272.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.01278, allocations: 189 kB / 272.6 MB, free: 1.105 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.01288, allocations: 75.33 kB / 272.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.01292, allocations: 3.984 kB / 272.6 MB, free: 1.008 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.01296, allocations: 16.5 kB / 272.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01296, allocations: 256 / 272.6 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of Templates: time 0.00346/0.01642, allocations: 0.6381 MB / 273.3 MB, free: 380 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.3285641859984025]