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.001255/0.001255, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001164/0.001164, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.523e-06/1.523e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.645e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002022/0.002039, allocations: 1.692 MB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.002741, allocations: 0.5685 MB / 275.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.042e-05/0.002811, allocations: 3.938 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.086e-05/0.002852, allocations: 3.938 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.002971, allocations: 11.88 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.003184, allocations: 75.67 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.346e-05/0.003278, allocations: 47.84 kB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.111e-05/0.003349, allocations: 12.17 kB / 275.9 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.003449, allocations: 39.84 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.003491, allocations: 11.92 kB / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.003507, allocations: 7.984 kB / 276 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.569e-05/0.003553, allocations: 4 kB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.003587, allocations: 15.92 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.003605, allocations: 15.94 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.836e-05/0.003703, allocations: 47.77 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-06/0.003704, allocations: 4 kB / 276.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003705, allocations: 0 / 276.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.003708, allocations: 0 / 276.1 MB, free: 14.69 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.000257/0.003965, allocations: 276.6 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.003993, allocations: 12.03 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.565e-05/0.004079, allocations: 16.92 kB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.00422, allocations: 146.1 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.004228, allocations: 8.375 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.004234, allocations: 4.375 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.004383, allocations: 114.9 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.00439, allocations: 0 / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.004397, allocations: 3.938 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.004402, allocations: 3.984 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.00442, allocations: 15.91 kB / 276.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.004579, allocations: 158.1 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.787e-05/0.004637, allocations: 59.8 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.004659, allocations: 22.64 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.004673, allocations: 0 / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.004697, allocations: 46.42 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.004697, allocations: 0 / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000116/0.004813, allocations: 49.62 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.004869, allocations: 110.8 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.004964, allocations: 138.4 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.004977, allocations: 37.64 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.005013, allocations: 84.12 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.005032, allocations: 11.88 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.005064, allocations: 17.72 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.005159, allocations: 318.8 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.005168, allocations: 0 / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.005174, allocations: 0 / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.005196, allocations: 8.859 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005198, allocations: 0 / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.75e-05/0.005245, allocations: 41.69 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.005258, allocations: 8 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005262, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.005273, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.00532, allocations: 7.938 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.005323, allocations: 0 / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.005337, allocations: 0 / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.005342, allocations: 0 / 277.7 MB, free: 12.79 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 5.581e-05/0.005398, allocations: 116.7 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.005437, allocations: 45.69 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.005461, allocations: 19.89 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.005463, allocations: 0 / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.005467, allocations: 4 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.00547, allocations: 0 / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.721e-05/0.005547, allocations: 73.88 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005548, allocations: 3.938 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.005575, allocations: 19.98 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005577, allocations: 3.938 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.005582, allocations: 4 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005583, allocations: 0 / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.005584, allocations: 4.031 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.361e-05/0.005647, allocations: 145.2 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.005669, allocations: 11.91 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.005679, allocations: 7.938 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.085e-05/0.00571, allocations: 4 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.005734, allocations: 3.984 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.005736, allocations: 4 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.115e-05/0.005758, allocations: 24.83 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005758, allocations: 0 / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001126/0.00587, allocations: 8 kB / 278.2 MB, free: 12.24 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 5.35e-05/0.005924, allocations: 80.45 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.845e-05/0.005972, allocations: 24.78 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.005974, allocations: 0 / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.358e-06/0.005984, allocations: 8.859 kB / 278.3 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.006157, allocations: 27.8 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.006505, allocations: 192.1 kB / 278.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.808e-05/0.006544, allocations: 63.34 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.926e-05/0.006563, allocations: 4 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.006611, allocations: 55.36 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of SimCode: time 3.8e-07/0.006611, allocations: 0 / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of Templates: time 0.002014/0.008625, allocations: 0.6639 MB / 279.3 MB, free: 11.08 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 -s gbode -gbm=radauIIA3 -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.5652461531572044]