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.001014/0.001014, allocations: 81.86 kB / 21.42 MB, free: 3.078 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.001362/0.001362, allocations: 171.2 kB / 24.82 MB, free: 8.32 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.9837/0.9837, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.202e-06/1.202e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.231e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002132/0.002154, allocations: 1.634 MB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007118/0.002866, allocations: 0.5568 MB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.002946, allocations: 3.938 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.103e-05/0.002987, allocations: 7.938 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.003104, allocations: 11.88 kB / 275.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.003342, allocations: 63.73 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.00343, allocations: 51.78 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.003509, allocations: 8.188 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003616, allocations: 43.83 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.003656, allocations: 7.984 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.003671, allocations: 4 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.413e-05/0.003705, allocations: 4 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.003744, allocations: 23.91 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.003761, allocations: 15.94 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.00388, allocations: 47.77 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003882, allocations: 0 / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003883, allocations: 0 / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003887, allocations: 0 / 275.9 MB, free: 14.81 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003312/0.004218, allocations: 416.2 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.004252, allocations: 12.03 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.944e-05/0.004342, allocations: 16.89 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.004486, allocations: 152.9 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.004493, allocations: 384 / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/0.004498, allocations: 4.375 kB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.004668, allocations: 137 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.004675, allocations: 4 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.00468, allocations: 0 / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.004684, allocations: 0 / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.004703, allocations: 19.91 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.00492, allocations: 251.8 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.274e-05/0.004983, allocations: 93.16 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.005005, allocations: 27.19 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.005023, allocations: 7.938 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.005044, allocations: 41.33 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005045, allocations: 0 / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001252/0.00517, allocations: 65.58 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.005216, allocations: 110.8 kB / 277.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.0053, allocations: 196.8 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.005311, allocations: 29.7 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.005356, allocations: 134.9 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.00537, allocations: 7.922 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.005397, allocations: 27.33 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.005532, allocations: 0.4884 MB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.00554, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.005546, allocations: 384 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.005567, allocations: 19.69 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.005571, allocations: 7.922 kB / 278.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.087e-05/0.005622, allocations: 29.7 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.005635, allocations: 8 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005639, allocations: 3.938 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.005649, allocations: 0 / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.005698, allocations: 4 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.0057, allocations: 0 / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.005715, allocations: 3.984 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.005719, allocations: 4.031 kB / 278.2 MB, free: 12.25 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.681e-05/0.005786, allocations: 164.5 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/0.005869, allocations: 45.59 kB / 278.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.005899, allocations: 15.95 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.005901, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.005903, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005906, allocations: 0 / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.006007, allocations: 113.2 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006009, allocations: 0 / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.00604, allocations: 12.06 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.006044, allocations: 3.938 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.00605, allocations: 7.984 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006051, allocations: 0 / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.006053, allocations: 4 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.595e-05/0.006139, allocations: 195.3 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.006169, allocations: 27.83 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-06/0.006178, allocations: 0 / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.215e-05/0.00621, allocations: 4 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.006232, allocations: 3.984 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.006236, allocations: 8.031 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.281e-05/0.006289, allocations: 142.2 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006289, allocations: 0 / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.00643, allocations: 8 kB / 278.9 MB, free: 11.45 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 (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 7.739e-05/0.006507, allocations: 95.25 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.208e-05/0.006569, allocations: 23.61 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006571, allocations: 0 / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.938e-06/0.006581, allocations: 7.688 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.006817, allocations: 40.3 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005348/0.007352, allocations: 192.3 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.007387, allocations: 66.72 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.95e-05/0.007406, allocations: 3.984 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.007453, allocations: 74.2 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.007454, allocations: 0 / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of Templates: time 0.002063/0.009517, allocations: 0.6807 MB / 280.1 MB, free: 10.21 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] 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","",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.7873897589743137]