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.0009367/0.0009367, allocations: 80.8 kB / 21.5 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.0009296/0.0009296, allocations: 169.1 kB / 24.91 MB, free: 9.184 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.872/0.872, allocations: 177.1 MB / 205.3 MB, free: 5.504 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 3.005e-06/3.005e-06, allocations: 4 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.376e-05, allocations: 2.312 kB / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00258/0.002593, allocations: 1.669 MB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003669, allocations: 0.623 MB / 275.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.003749, allocations: 11.94 kB / 275.8 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.14e-05/0.0038, allocations: 11.86 kB / 275.8 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.004029, allocations: 31.72 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.004294, allocations: 79.67 kB / 275.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.004421, allocations: 79.75 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.558e-05/0.004497, allocations: 8 kB / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.004646, allocations: 59.81 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.004705, allocations: 23.91 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.004723, allocations: 4 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.804e-05/0.004761, allocations: 12 kB / 276.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.004809, allocations: 27.91 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.004842, allocations: 19.92 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.004983, allocations: 67.73 kB / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004984, allocations: 0 / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004985, allocations: 0 / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004989, allocations: 0 / 276.2 MB, free: 14.58 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003986/0.005387, allocations: 308.4 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.005423, allocations: 8.031 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.005546, allocations: 20.92 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.005728, allocations: 158.1 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.005748, allocations: 4.375 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.005764, allocations: 8.375 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.006049, allocations: 190.5 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.006057, allocations: 3.938 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.006067, allocations: 8 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.006073, allocations: 0 / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.006119, allocations: 23.92 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.006313, allocations: 169.9 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.353e-05/0.006406, allocations: 71.91 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.006451, allocations: 34.58 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.006469, allocations: 4 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.006495, allocations: 42.5 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.006496, allocations: 0 / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001772/0.006673, allocations: 89.58 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.006745, allocations: 114.8 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.335e-05/0.006838, allocations: 145.6 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.006852, allocations: 25.7 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.006882, allocations: 84.14 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.006902, allocations: 15.89 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.006938, allocations: 21.7 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.007025, allocations: 318.8 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.007039, allocations: 12.11 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.007069, allocations: 39.41 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.666e-05/0.007115, allocations: 35.36 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.007118, allocations: 4 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.257e-05/0.007201, allocations: 57.56 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.007212, allocations: 9.781 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.007217, allocations: 7.984 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.007234, allocations: 4 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.506e-05/0.007299, allocations: 12 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.007302, allocations: 0 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.007336, allocations: 4 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007341, allocations: 0.5 kB / 278.2 MB, free: 12.34 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.326e-05/0.007414, allocations: 120.7 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.007511, allocations: 77.55 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.007541, allocations: 8.469 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007544, allocations: 4 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.007545, allocations: 4 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.007549, allocations: 3.938 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.007682, allocations: 89.77 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007684, allocations: 0 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.097e-05/0.007765, allocations: 23.92 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007767, allocations: 0 / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.007777, allocations: 11.92 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.007779, allocations: 0 / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00778, allocations: 0 / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.406e-05/0.007864, allocations: 145.3 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.007908, allocations: 19.97 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.007928, allocations: 7.922 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.008001, allocations: 8 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.008021, allocations: 0 / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.008029, allocations: 4 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.008064, allocations: 31.77 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008065, allocations: 0 / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.008304, allocations: 16 kB / 278.7 MB, free: 11.71 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 7.569e-05/0.008379, allocations: 76.42 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.948e-05/0.008469, allocations: 48.77 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.008471, allocations: 0 / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.008484, allocations: 8.859 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.008762, allocations: 43.61 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.009329, allocations: 246.2 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.933e-05/0.009398, allocations: 71.28 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.027e-05/0.009429, allocations: 12.8 kB / 279.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.009498, allocations: 63.38 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009498, allocations: 0 / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Templates: time 0.003154/0.01265, allocations: 1.038 MB / 280.3 MB, free: 10.07 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.468675073236227]