Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.001627/0.001627, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.002068/0.002068, allocations: 160.8 kB / 25.61 MB, free: 8.895 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.9542/0.9542, allocations: 177.1 MB / 206 MB, free: 4.496 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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.692e-05, allocations: 2.312 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002525/0.002552, allocations: 1.654 MB / 275.9 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.00364, allocations: 0.6138 MB / 276.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.003756, allocations: 7.938 kB / 276.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.381e-05/0.003819, allocations: 3.938 kB / 276.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.004102, allocations: 29.34 kB / 276.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.004389, allocations: 83.66 kB / 276.6 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.004518, allocations: 75.77 kB / 276.7 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.004617, allocations: 15.98 kB / 276.7 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.004769, allocations: 56.45 kB / 276.7 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.004831, allocations: 28.39 kB / 276.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.00485, allocations: 4 kB / 276.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.405e-05/0.004894, allocations: 8.656 kB / 276.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.004945, allocations: 27.92 kB / 276.8 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.00498, allocations: 23.91 kB / 276.8 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.005126, allocations: 59.81 kB / 276.9 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005128, allocations: 0 / 276.9 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00513, allocations: 0 / 276.9 MB, free: 1.742 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005135, allocations: 0 / 276.9 MB, free: 1.742 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004724/0.005607, allocations: 440 kB / 277.3 MB, free: 1.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.005644, allocations: 8.031 kB / 277.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.005767, allocations: 40.77 kB / 277.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.00596, allocations: 157 kB / 277.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.005982, allocations: 8.375 kB / 277.5 MB, free: 1.043 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.005995, allocations: 8.359 kB / 277.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.006281, allocations: 201.1 kB / 277.7 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.006294, allocations: 7.938 kB / 277.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.006304, allocations: 0 / 277.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.00631, allocations: 0 / 277.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.006351, allocations: 15.98 kB / 277.7 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.006635, allocations: 275.6 kB / 278 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.006739, allocations: 101.3 kB / 278.1 MB, free: 352 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.006782, allocations: 39.11 kB / 278.2 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.006803, allocations: 7.938 kB / 278.2 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.006832, allocations: 45.33 kB / 278.2 MB, free: 236 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.006834, allocations: 4 kB / 278.2 MB, free: 232 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001958/0.00703, allocations: 97.5 kB / 278.3 MB, free: 128 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.007107, allocations: 110.8 kB / 278.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.007212, allocations: 199.9 kB / 278.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.007226, allocations: 33.7 kB / 278.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.007269, allocations: 126.9 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.007292, allocations: 23.88 kB / 278.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.007325, allocations: 19.38 kB / 278.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.007457, allocations: 0.4962 MB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.007469, allocations: 0 / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.007502, allocations: 50.8 kB / 279.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.007545, allocations: 46.73 kB / 279.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.007548, allocations: 0 / 279.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003978/0.007946, allocations: 77.45 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.007959, allocations: 4 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.007966, allocations: 4.625 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.007975, allocations: 4 kB / 279.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.00804, allocations: 11.98 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.008043, allocations: 0 / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.008067, allocations: 8 kB / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.008072, allocations: 0 / 279.5 MB, free: 14.81 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$CLKPRE.superSampleIpo.first,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.779e-05/0.00815, allocations: 164.5 kB / 279.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.008238, allocations: 81.56 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.00827, allocations: 16.47 kB / 279.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008272, allocations: 0 / 279.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.008275, allocations: 7.938 kB / 279.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.008279, allocations: 4 kB / 279.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.008386, allocations: 113.2 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.008387, allocations: 7.938 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.008446, allocations: 19.98 kB / 279.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.00845, allocations: 11.92 kB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.008456, allocations: 0 / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.008459, allocations: 4 kB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008461, allocations: 160 / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.008564, allocations: 211.2 kB / 280.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.008603, allocations: 15.88 kB / 280.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.008621, allocations: 15.97 kB / 280.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.008661, allocations: 4 kB / 280.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.008686, allocations: 0 / 280.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.008694, allocations: 7.984 kB / 280.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.556e-05/0.008749, allocations: 146.2 kB / 280.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008749, allocations: 0 / 280.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001512/0.0089, allocations: 16 kB / 280.3 MB, free: 13.91 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 9.365e-05/0.008994, allocations: 99.23 kB / 280.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.525e-05/0.009089, allocations: 43.78 kB / 280.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.009091, allocations: 4.062 kB / 280.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.009103, allocations: 15.62 kB / 280.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.009389, allocations: 52.09 kB / 280.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.009921, allocations: 249.9 kB / 280.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.368e-05/0.009965, allocations: 67.34 kB / 280.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.009991, allocations: 8.484 kB / 280.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.546e-05/0.01006, allocations: 86.25 kB / 280.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01006, allocations: 0 / 280.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of Templates: time 0.002975/0.01303, allocations: 1.065 MB / 282 MB, free: 12.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.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.7732451069168746]