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.001824/0.001824, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002101/0.002101, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 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.557/1.557, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.284e-06/2.284e-06, allocations: 0 / 272.3 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.154e-05/3.382e-05, allocations: 2.312 kB / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003274/0.003308, allocations: 1.622 MB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.004686, allocations: 0.6 MB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.004771, allocations: 3.938 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.99e-05/0.004831, allocations: 7.938 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.005108, allocations: 31.72 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.005438, allocations: 79.7 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.005586, allocations: 79.72 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.005689, allocations: 15.98 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.005876, allocations: 59.75 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.005951, allocations: 27.91 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.005974, allocations: 4 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.287e-05/0.006016, allocations: 8 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.748e-05/0.006074, allocations: 15.92 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.006133, allocations: 27.91 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.00635, allocations: 83.73 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.006361, allocations: 4 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.006363, allocations: 4 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.006368, allocations: 4 kB / 275 MB, free: 15.11 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.0007013/0.007069, allocations: 329.8 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.007109, allocations: 8.031 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.007313, allocations: 32.83 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.007616, allocations: 150.1 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.007645, allocations: 8.375 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.00766, allocations: 8.375 kB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.008207, allocations: 214.3 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.008235, allocations: 7.875 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.008249, allocations: 0 / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.008257, allocations: 4 kB / 275.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.008445, allocations: 55.95 kB / 275.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.008817, allocations: 226.2 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.009049, allocations: 95.89 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.009198, allocations: 54.55 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.009225, allocations: 0 / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.009272, allocations: 38.56 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.009273, allocations: 0 / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005073/0.00978, allocations: 157.9 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.009887, allocations: 110.8 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.01006, allocations: 148.8 kB / 276.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.01009, allocations: 29.64 kB / 276.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.01018, allocations: 92.14 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.01021, allocations: 11.89 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.01025, allocations: 21.72 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.01043, allocations: 318.8 kB / 277.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/0.01049, allocations: 20 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.01056, allocations: 39.53 kB / 277.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.01069, allocations: 63.3 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01069, allocations: 0 / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001844/0.01087, allocations: 93.5 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.01089, allocations: 5.719 kB / 277.3 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.0109, allocations: 4.125 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.01092, allocations: 4 kB / 277.3 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.01101, allocations: 11.98 kB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.01101, allocations: 0 / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.01106, allocations: 4 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01107, allocations: 4 kB / 277.3 MB, free: 12.54 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 0.0001407/0.01121, allocations: 137.7 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002111/0.01142, allocations: 93.62 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.01166, allocations: 16.45 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01166, allocations: 4 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.01167, allocations: 4 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01167, allocations: 0 / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.01187, allocations: 129.2 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01187, allocations: 4 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.01199, allocations: 23.92 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01199, allocations: 0 / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.01201, allocations: 4 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01202, allocations: 4 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01202, allocations: 0 / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.01239, allocations: 233 kB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.01246, allocations: 31.95 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.01249, allocations: 8 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.01258, allocations: 4 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.01263, allocations: 7.984 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.01264, allocations: 0 / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.01275, allocations: 111.2 kB / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01275, allocations: 0 / 278.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.013, allocations: 16 kB / 278.1 MB, free: 11.66 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 0.0001688/0.01317, allocations: 99.25 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.0134, allocations: 59.91 kB / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.0134, allocations: 0 / 278.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.072e-05/0.01344, allocations: 15.92 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.01392, allocations: 66.53 kB / 278.4 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.01465, allocations: 254.7 kB / 278.6 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.01477, allocations: 96.61 kB / 278.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.584e-05/0.0148, allocations: 4.5 kB / 278.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.01485, allocations: 12.5 kB / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.01485, allocations: 0 / 278.7 MB, free: 11 MB / 266.7 MB Notification: Performance of Templates: time 0.004205/0.01905, allocations: 0.9994 MB / 279.7 MB, free: 10.03 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.478971904027276]