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.001149/0.001149, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00125/0.00125, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.046e-06/3.046e-06, allocations: 0 / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.33e-05/4.635e-05, allocations: 2.312 kB / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003491/0.003537, allocations: 1.668 MB / 274.7 MB, free: 168 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.004735, allocations: 0.6153 MB / 275.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.004844, allocations: 7.938 kB / 275.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.299e-05/0.004907, allocations: 3.938 kB / 275.4 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003174/0.005224, allocations: 35.72 kB / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.005477, allocations: 83.64 kB / 275.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.005594, allocations: 75.78 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.005699, allocations: 11.98 kB / 275.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.005845, allocations: 55.77 kB / 275.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.005905, allocations: 27.89 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.005923, allocations: 8 kB / 275.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.82e-05/0.005961, allocations: 4 kB / 275.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.006016, allocations: 27.91 kB / 275.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.006054, allocations: 23.92 kB / 275.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.006212, allocations: 63.8 kB / 275.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006215, allocations: 3.938 kB / 275.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.006217, allocations: 3.984 kB / 275.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006221, allocations: 0 / 275.8 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.0004632/0.006685, allocations: 428.2 kB / 276.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.006724, allocations: 8.031 kB / 276.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.006843, allocations: 28.83 kB / 276.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.007024, allocations: 160.9 kB / 276.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.007045, allocations: 4.375 kB / 276.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.007057, allocations: 8.375 kB / 276.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.007361, allocations: 211.5 kB / 276.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.00737, allocations: 11.88 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.007381, allocations: 4 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.007388, allocations: 3.938 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.007438, allocations: 19.98 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.007722, allocations: 299 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.427e-05/0.007816, allocations: 105.4 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.007867, allocations: 47.05 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.007888, allocations: 4 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.007919, allocations: 37.38 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.007921, allocations: 4 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002105/0.008131, allocations: 113.5 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.008197, allocations: 110.8 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.008309, allocations: 201.3 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.008321, allocations: 25.7 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.008373, allocations: 142.8 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.008392, allocations: 11.94 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.008422, allocations: 23.38 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.008555, allocations: 0.4923 MB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.008573, allocations: 4 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.008607, allocations: 38.88 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/0.008661, allocations: 62.61 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008663, allocations: 0 / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.951e-05/0.008742, allocations: 77.52 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.008755, allocations: 4 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008759, allocations: 0 / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.008775, allocations: 8.125 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.008846, allocations: 11.98 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.008852, allocations: 0 / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.008875, allocations: 4 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.00888, allocations: 160 / 278.4 MB, free: 12.14 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 8.514e-05/0.008965, allocations: 176.1 kB / 278.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.009053, allocations: 89.58 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.009086, allocations: 16.41 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.00909, allocations: 4 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.009094, allocations: 0 / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009097, allocations: 0 / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.009209, allocations: 140.5 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.009211, allocations: 4.625 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.009268, allocations: 19.92 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.009269, allocations: 4 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.009278, allocations: 0 / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.009281, allocations: 8 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009282, allocations: 0 / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.009439, allocations: 267.1 kB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.009476, allocations: 27.83 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.009495, allocations: 4 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.009533, allocations: 4 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.009563, allocations: 11.94 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.009569, allocations: 7.984 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.00962, allocations: 139.2 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00962, allocations: 0 / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001529/0.009773, allocations: 16 kB / 279.4 MB, free: 11.14 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.679e-05/0.00987, allocations: 95.25 kB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.009998, allocations: 51.59 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01, allocations: 256 / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.01002, allocations: 15.69 kB / 279.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.01032, allocations: 57.8 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.01089, allocations: 246.2 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.088e-05/0.01094, allocations: 63.34 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.01096, allocations: 8.484 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.011, allocations: 12.5 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.011, allocations: 4.062 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of Templates: time 0.002688/0.01368, allocations: 0.9885 MB / 280.9 MB, free: 9.555 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.990645484998822]