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.0009487/0.0009487, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.0009817/0.0009817, allocations: 161 kB / 24.56 MB, free: 12 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.9635/0.9635, allocations: 177.1 MB / 205 MB, free: 5.59 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 3.116e-06/3.116e-06, allocations: 3.984 kB / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.242e-05, allocations: 2.312 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00243/0.002462, allocations: 1.648 MB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.003241, allocations: 0.5608 MB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.003333, allocations: 3.938 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.011e-05/0.003393, allocations: 7.938 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.003567, allocations: 11.88 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.003909, allocations: 63.73 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.004029, allocations: 51.78 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.00414, allocations: 8.188 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.00431, allocations: 43.83 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.004373, allocations: 11.92 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.004395, allocations: 4 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.004445, allocations: 8 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.004505, allocations: 23.91 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.004533, allocations: 8 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.00472, allocations: 51.7 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.00473, allocations: 0 / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.004732, allocations: 0 / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.004739, allocations: 0 / 275.5 MB, free: 14.98 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.0005233/0.005263, allocations: 408.3 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.005312, allocations: 8.031 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.005484, allocations: 24.81 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.00569, allocations: 153 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.005701, allocations: 4.375 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.005711, allocations: 4.375 kB / 276.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.00598, allocations: 133 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.005988, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005998, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.006006, allocations: 0 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.877e-05/0.006035, allocations: 15.94 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.006344, allocations: 283.1 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.442e-05/0.006439, allocations: 89.19 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.00648, allocations: 31.12 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.006502, allocations: 7.922 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.006528, allocations: 41.33 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.00653, allocations: 0 / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001967/0.006726, allocations: 61.89 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.006787, allocations: 114.8 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.006903, allocations: 201.3 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.006915, allocations: 25.7 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.006966, allocations: 138.8 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.00698, allocations: 4 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.007016, allocations: 23.33 kB / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.007132, allocations: 0.4922 MB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.007146, allocations: 0 / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.007155, allocations: 4 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.033e-05/0.007185, allocations: 15.75 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007187, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.126e-05/0.007259, allocations: 41.64 kB / 277.8 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.007274, allocations: 4 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.00728, allocations: 3.984 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.007292, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.007363, allocations: 4 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.007368, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.007387, allocations: 0 / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.007394, allocations: 3.984 kB / 277.8 MB, free: 12.4 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 7.612e-05/0.00747, allocations: 164.5 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.007535, allocations: 53.58 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.007574, allocations: 11.97 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.007576, allocations: 0 / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.007581, allocations: 4 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.007586, allocations: 3.984 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.007726, allocations: 136.5 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007728, allocations: 0 / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.347e-05/0.007771, allocations: 7.984 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.007775, allocations: 4.062 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.007782, allocations: 4 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.007784, allocations: 0 / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.007787, allocations: 4 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.00801, allocations: 223.1 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.008042, allocations: 19.88 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.008056, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.00811, allocations: 4 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.008142, allocations: 0 / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.008148, allocations: 4 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.082e-05/0.008209, allocations: 147.2 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008209, allocations: 4 kB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.008426, allocations: 8 kB / 278.6 MB, free: 11.54 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 0.0001055/0.008531, allocations: 91.25 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.96e-05/0.008631, allocations: 27.61 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.008633, allocations: 0 / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.008648, allocations: 11.69 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.008987, allocations: 24.8 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005302/0.009517, allocations: 192.7 kB / 278.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.2e-05/0.009569, allocations: 63.34 kB / 279 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.455e-05/0.009594, allocations: 4 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.009626, allocations: 12.5 kB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.009627, allocations: 0 / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of Templates: time 0.002732/0.01236, allocations: 0.6702 MB / 279.7 MB, free: 10.38 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.764749730937183]