Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 107.6 kB / 16.31 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 186.8 kB / 17.24 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.1 MB / 223.1 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08524/0.08524, allocations: 12.59 MB / 283.1 MB, free: 15.47 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 87.89 kB / 343.5 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3448, allocations: 49.38 MB / 392.9 MB, free: 49.22 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.003413/0.3483, allocations: 1.602 MB / 394.5 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3495, allocations: 0.6009 MB / 395.1 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.3496, allocations: 6.125 kB / 395.1 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.605e-05/0.3497, allocations: 9.141 kB / 395.1 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.35, allocations: 34.25 kB / 395.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.3503, allocations: 64.89 kB / 395.2 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3505, allocations: 71.31 kB / 395.3 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3506, allocations: 19.59 kB / 395.3 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3507, allocations: 45.48 kB / 395.3 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.3508, allocations: 31.8 kB / 395.4 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3508, allocations: 4.938 kB / 395.4 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.3509, allocations: 5.656 kB / 395.4 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.3509, allocations: 22.77 kB / 395.4 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.351, allocations: 37.28 kB / 395.4 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3512, allocations: 75.75 kB / 395.5 MB, free: 47.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3512, allocations: 4.594 kB / 395.5 MB, free: 47.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3512, allocations: 0 / 395.5 MB, free: 47.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3512, allocations: 1.281 kB / 395.5 MB, free: 47.47 MB / 318.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.0005753/0.3518, allocations: 405 kB / 395.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3518, allocations: 8.844 kB / 395.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.3519, allocations: 16.05 kB / 395.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.3521, allocations: 206.8 kB / 396.1 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3521, allocations: 3.531 kB / 396.1 MB, free: 46.85 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3522, allocations: 8.469 kB / 396.1 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.3527, allocations: 223.9 kB / 396.4 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3527, allocations: 0.75 kB / 396.4 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3527, allocations: 7.938 kB / 396.4 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3527, allocations: 3.562 kB / 396.4 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.3529, allocations: 52.94 kB / 396.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.3532, allocations: 290.5 kB / 396.7 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3534, allocations: 106.8 kB / 396.8 MB, free: 46.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3535, allocations: 51.39 kB / 396.9 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3535, allocations: 5.453 kB / 396.9 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.3536, allocations: 36.77 kB / 396.9 MB, free: 46.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3536, allocations: 3.938 kB / 396.9 MB, free: 46.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004213/0.354, allocations: 151.8 kB / 397.1 MB, free: 46.13 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3541, allocations: 116.1 kB / 397.2 MB, free: 46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3542, allocations: 148.3 kB / 397.3 MB, free: 45.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.3542, allocations: 26.89 kB / 397.3 MB, free: 45.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.3542, allocations: 86.3 kB / 397.4 MB, free: 45.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3543, allocations: 14.08 kB / 397.4 MB, free: 45.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3543, allocations: 31.34 kB / 397.5 MB, free: 45.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.3544, allocations: 325.2 kB / 397.8 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.799e-05/0.3544, allocations: 18.92 kB / 397.8 MB, free: 45.38 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.3545, allocations: 86.72 kB / 397.9 MB, free: 45.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3547, allocations: 125.9 kB / 398 MB, free: 45.15 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3547, allocations: 1.219 kB / 398 MB, free: 45.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000232/0.3549, allocations: 129.7 kB / 398.1 MB, free: 45.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.355, allocations: 9.844 kB / 398.1 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.355, allocations: 5.953 kB / 398.2 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.355, allocations: 4 kB / 398.2 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3552, allocations: 22.22 kB / 398.2 MB, free: 45.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3552, allocations: 7.797 kB / 398.2 MB, free: 45.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.3552, allocations: 9.094 kB / 398.2 MB, free: 45.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3553, allocations: 9.688 kB / 398.2 MB, free: 45.05 MB / 318.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 9.289e-05/0.3554, allocations: 136.2 kB / 398.3 MB, free: 44.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.3555, allocations: 102.6 kB / 398.4 MB, free: 44.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.3556, allocations: 11.41 kB / 398.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3556, allocations: 2.875 kB / 398.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3556, allocations: 0 / 398.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3556, allocations: 1.406 kB / 398.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3558, allocations: 195.4 kB / 398.6 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3558, allocations: 0 / 398.6 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.3559, allocations: 19.64 kB / 398.7 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3559, allocations: 1.188 kB / 398.7 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3559, allocations: 14.17 kB / 398.7 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3559, allocations: 1.156 kB / 398.7 MB, free: 44.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3559, allocations: 5.125 kB / 398.7 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3562, allocations: 216.1 kB / 398.9 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.3563, allocations: 98.89 kB / 399 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3563, allocations: 14.62 kB / 399 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.3564, allocations: 7.062 kB / 399 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.3564, allocations: 2.094 kB / 399 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3565, allocations: 7.203 kB / 399 MB, free: 44.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.111e-05/0.3565, allocations: 110.9 kB / 399.1 MB, free: 44.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3565, allocations: 0 / 399.1 MB, free: 44.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.3568, allocations: 15 kB / 399.1 MB, free: 44.19 MB / 318.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 9.016e-05/0.3569, allocations: 106.1 kB / 399.2 MB, free: 44.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.3571, allocations: 87.03 kB / 399.3 MB, free: 44.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3571, allocations: 0 / 399.3 MB, free: 44.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.3572, allocations: 9.891 kB / 399.3 MB, free: 44.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.3577, allocations: 62.78 kB / 399.4 MB, free: 44.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.3583, allocations: 251.4 kB / 399.7 MB, free: 43.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.3585, allocations: 0.7062 MB / 400.4 MB, free: 43.11 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.057e-05/0.3586, allocations: 11.92 kB / 400.4 MB, free: 43.1 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.3586, allocations: 17.09 kB / 400.4 MB, free: 43.09 MB / 318.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3586, allocations: 0 / 400.4 MB, free: 43.09 MB / 318.1 MB Notification: Performance of Templates: time 0.003626/0.3622, allocations: 0.9537 MB / 401.3 MB, free: 42.62 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches