Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.001417/0.001417, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.00157/0.00157, allocations: 192.8 kB / 23.71 MB, free: 4.406 MB / 14.72 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.557/1.557, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 47.92 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.259, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003378/0.2624, allocations: 1.624 MB / 424.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.2635, allocations: 0.5221 MB / 425.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.2636, allocations: 3.938 kB / 425.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.24e-05/0.2637, allocations: 7.938 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.264, allocations: 31.78 kB / 425.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.2642, allocations: 67.8 kB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.2644, allocations: 79.75 kB / 425.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2645, allocations: 8.234 kB / 425.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2646, allocations: 43.84 kB / 425.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.2647, allocations: 31.78 kB / 425.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2647, allocations: 4 kB / 425.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.2647, allocations: 8 kB / 425.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.2648, allocations: 23.92 kB / 425.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.2649, allocations: 27.8 kB / 425.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.265, allocations: 85.88 kB / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.265, allocations: 0 / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.265, allocations: 0 / 425.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.83e-06/0.265, allocations: 4 kB / 425.6 MB, free: 11.9 MB / 334.1 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.0006676/0.2657, allocations: 337.8 kB / 426 MB, free: 11.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.2658, allocations: 8.031 kB / 426 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.2658, allocations: 12.89 kB / 426 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.2661, allocations: 146.4 kB / 426.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.2661, allocations: 8.375 kB / 426.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2661, allocations: 4.375 kB / 426.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.2666, allocations: 220.8 kB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2666, allocations: 8 kB / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2666, allocations: 0 / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2666, allocations: 0 / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.2668, allocations: 51.89 kB / 426.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.2671, allocations: 226.3 kB / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.2673, allocations: 99.83 kB / 426.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.2674, allocations: 46.62 kB / 426.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2675, allocations: 7.938 kB / 426.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.2675, allocations: 46.53 kB / 426.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.2675, allocations: 0 / 426.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004387/0.2679, allocations: 141.5 kB / 427 MB, free: 10.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.268, allocations: 123.2 kB / 427.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.2682, allocations: 144.2 kB / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2682, allocations: 33.64 kB / 427.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.2683, allocations: 84.14 kB / 427.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.2683, allocations: 19.88 kB / 427.4 MB, free: 9.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.2684, allocations: 33.66 kB / 427.4 MB, free: 9.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2685, allocations: 323 kB / 427.7 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.924e-05/0.2686, allocations: 19.98 kB / 427.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.2687, allocations: 89.42 kB / 427.8 MB, free: 9.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.2689, allocations: 121.2 kB / 427.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2689, allocations: 4 kB / 427.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002323/0.2691, allocations: 129.7 kB / 428.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2691, allocations: 8.031 kB / 428.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2691, allocations: 4 kB / 428.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.2692, allocations: 4 kB / 428.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2693, allocations: 27.92 kB / 428.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2693, allocations: 4 kB / 428.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.2693, allocations: 7.938 kB / 428.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.2694, allocations: 8 kB / 428.1 MB, free: 9.113 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$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 (14): * Single equations (assignments): 14 * 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.0001195/0.2695, allocations: 133.7 kB / 428.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.2697, allocations: 101.5 kB / 428.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.2697, allocations: 20.39 kB / 428.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2697, allocations: 4 kB / 428.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2697, allocations: 0 / 428.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2697, allocations: 0 / 428.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.2699, allocations: 121.3 kB / 428.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.2699, allocations: 7.938 kB / 428.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.27, allocations: 19.98 kB / 428.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.27, allocations: 0 / 428.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.27, allocations: 4 kB / 428.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.27, allocations: 7.938 kB / 428.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.27, allocations: 0 / 428.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.2703, allocations: 225.1 kB / 428.8 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.2704, allocations: 31.77 kB / 428.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2704, allocations: 4 kB / 428.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.2705, allocations: 4.125 kB / 428.8 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.2706, allocations: 11.98 kB / 428.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2706, allocations: 0 / 428.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.7e-05/0.2706, allocations: 117.8 kB / 428.9 MB, free: 8.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2706, allocations: 0 / 428.9 MB, free: 8.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.2709, allocations: 12 kB / 428.9 MB, free: 8.234 MB / 334.1 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 0.0001084/0.271, allocations: 103.2 kB / 429 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.2713, allocations: 83.7 kB / 429.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2713, allocations: 4 kB / 429.1 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.2713, allocations: 11.94 kB / 429.1 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.2717, allocations: 59.91 kB / 429.2 MB, free: 7.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.2724, allocations: 266.2 kB / 429.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2725, allocations: 92.05 kB / 429.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.2725, allocations: 4.5 kB / 429.5 MB, free: 7.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.2726, allocations: 19.42 kB / 429.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2726, allocations: 0 / 429.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of Templates: time 0.004058/0.2766, allocations: 1.089 MB / 430.7 MB, free: 6.484 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.659489952027798]