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.001389/0.001389, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.001048/0.001048, allocations: 138.1 kB / 24.97 MB, free: 8.359 MB / 18.57 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.031/1.031, allocations: 173.4 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] 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 1.282e-06/1.282e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/2.968e-05, allocations: 6.25 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002157/0.002187, allocations: 1.639 MB / 269.7 MB, free: 5.051 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.00293, allocations: 0.5568 MB / 270.3 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.003024, allocations: 7.938 kB / 270.3 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.003073, allocations: 11.81 kB / 270.3 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.003312, allocations: 23.84 kB / 270.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.003495, allocations: 75.67 kB / 270.4 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.003607, allocations: 71.77 kB / 270.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.00371, allocations: 16.22 kB / 270.5 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.003812, allocations: 39.91 kB / 270.5 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.00388, allocations: 31.89 kB / 270.6 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.003904, allocations: 8 kB / 270.6 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.003916, allocations: 4 kB / 270.6 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.003968, allocations: 15.92 kB / 270.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.004013, allocations: 27.91 kB / 270.6 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.004139, allocations: 55.75 kB / 270.7 MB, free: 4.102 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004141, allocations: 4 kB / 270.7 MB, free: 4.098 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.004143, allocations: 4 kB / 270.7 MB, free: 4.094 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004147, allocations: 0 / 270.7 MB, free: 4.094 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.000488/0.004635, allocations: 444.1 kB / 271.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.004678, allocations: 8.031 kB / 271.1 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.004727, allocations: 12.89 kB / 271.1 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.004932, allocations: 152.4 kB / 271.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.004959, allocations: 8.375 kB / 271.3 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.004973, allocations: 4.375 kB / 271.3 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.00531, allocations: 223.6 kB / 271.5 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.005316, allocations: 192 / 271.5 MB, free: 3.176 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.005327, allocations: 4.375 kB / 271.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.005338, allocations: 7.938 kB / 271.5 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.005391, allocations: 23.92 kB / 271.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.005679, allocations: 287.2 kB / 271.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.005776, allocations: 97.23 kB / 271.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.005836, allocations: 55.11 kB / 272 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.005856, allocations: 4 kB / 272 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.005878, allocations: 41.33 kB / 272 MB, free: 2.562 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.005879, allocations: 0 / 272 MB, free: 2.562 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002154/0.006095, allocations: 113.9 kB / 272.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.00616, allocations: 114.8 kB / 272.2 MB, free: 2.309 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.006264, allocations: 202 kB / 272.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.006274, allocations: 25.7 kB / 272.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.006322, allocations: 134.9 kB / 272.6 MB, free: 1.926 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.00634, allocations: 7.953 kB / 272.6 MB, free: 1.918 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.006377, allocations: 35.31 kB / 272.6 MB, free: 1.875 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.006491, allocations: 496.1 kB / 273.1 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.00651, allocations: 8.047 kB / 273.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.006541, allocations: 46.73 kB / 273.2 MB, free: 1.309 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.402e-05/0.006595, allocations: 62.67 kB / 273.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006597, allocations: 0 / 273.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.957e-05/0.006677, allocations: 65.58 kB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.006691, allocations: 7.938 kB / 273.3 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.006696, allocations: 7.938 kB / 273.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.006707, allocations: 0 / 273.3 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.006787, allocations: 8 kB / 273.3 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.006794, allocations: 4 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.574e-05/0.00682, allocations: 12.11 kB / 273.3 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.006825, allocations: 4 kB / 273.3 MB, free: 1.117 MB / 250.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.101e-05/0.006896, allocations: 168.4 kB / 273.5 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.006985, allocations: 81.52 kB / 273.6 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.007018, allocations: 20.45 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.00702, allocations: 0 / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.007024, allocations: 4 kB / 273.6 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007027, allocations: 0 / 273.6 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.007135, allocations: 140.5 kB / 273.7 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007136, allocations: 0 / 273.7 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.0072, allocations: 23.92 kB / 273.8 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007202, allocations: 4 kB / 273.8 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.007213, allocations: 11.94 kB / 273.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.007215, allocations: 0 / 273.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007216, allocations: 0 / 273.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.007368, allocations: 255.2 kB / 274 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.007407, allocations: 15.94 kB / 274.1 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.007429, allocations: 16.05 kB / 274.1 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.007483, allocations: 8 kB / 274.1 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.007515, allocations: 0 / 274.1 MB, free: 312 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.007521, allocations: 4 kB / 274.1 MB, free: 308 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.417e-05/0.007586, allocations: 154.2 kB / 274.2 MB, free: 156 kB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007586, allocations: 4 kB / 274.2 MB, free: 152 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.007746, allocations: 12 kB / 274.2 MB, free: 140 kB / 250.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 8.348e-05/0.00783, allocations: 107.1 kB / 274.3 MB, free: 24 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.007945, allocations: 43.61 kB / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007946, allocations: 0 / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.007961, allocations: 15.67 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.008245, allocations: 47.61 kB / 274.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.008809, allocations: 250 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.254e-05/0.008851, allocations: 71.28 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.317e-05/0.008874, allocations: 4.734 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.008907, allocations: 20.48 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.008907, allocations: 0 / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of Templates: time 0.002638/0.01155, allocations: 0.9847 MB / 275.8 MB, free: 14.55 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 240] 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","",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.8885765220038593]