Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.7 MB / 243.2 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007341/0.0007342, allocations: 99.41 kB / 294.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002693, allocations: 12 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2552, allocations: 50.4 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001581/0.2568, allocations: 1.311 MB / 405.9 MB, free: 30 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006985/0.2575, allocations: 0.5119 MB / 406.4 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.2576, allocations: 11.88 kB / 406.4 MB, free: 29.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.2577, allocations: 3.938 kB / 406.4 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.2579, allocations: 26.81 kB / 406.4 MB, free: 29.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.2582, allocations: 63.81 kB / 406.5 MB, free: 29.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.976e-05/0.2583, allocations: 63.84 kB / 406.6 MB, free: 29.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2584, allocations: 16.22 kB / 406.6 MB, free: 29.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.2585, allocations: 36.53 kB / 406.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.2586, allocations: 31.84 kB / 406.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.2586, allocations: 1.781 kB / 406.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.2586, allocations: 4 kB / 406.7 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.2587, allocations: 15.92 kB / 406.7 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.2587, allocations: 69.42 kB / 406.7 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.394e-05/0.2588, allocations: 71.69 kB / 406.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2588, allocations: 1.188 kB / 406.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2588, allocations: 0 / 406.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.2588, allocations: 0 / 406.8 MB, free: 29.07 MB / 298.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.0004844/0.2593, allocations: 387.4 kB / 407.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.2594, allocations: 12.03 kB / 407.2 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.2594, allocations: 15.94 kB / 407.2 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.2596, allocations: 208.1 kB / 407.4 MB, free: 28.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.2597, allocations: 12.28 kB / 407.4 MB, free: 28.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.2597, allocations: 4.375 kB / 407.4 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.2601, allocations: 223.8 kB / 407.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2601, allocations: 0 / 407.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2602, allocations: 4 kB / 407.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2602, allocations: 0 / 407.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.2603, allocations: 59.89 kB / 407.7 MB, free: 28.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.2606, allocations: 286.6 kB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.2608, allocations: 99.77 kB / 408.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2609, allocations: 70.67 kB / 408.2 MB, free: 27.53 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.261, allocations: 4 kB / 408.2 MB, free: 27.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.261, allocations: 42.5 kB / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.261, allocations: 0 / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003653/0.2614, allocations: 157.5 kB / 408.4 MB, free: 27.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.2614, allocations: 110.8 kB / 408.5 MB, free: 27.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.2615, allocations: 140.5 kB / 408.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2615, allocations: 33.7 kB / 408.6 MB, free: 27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.2616, allocations: 88.12 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2616, allocations: 11.91 kB / 408.7 MB, free: 26.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.2616, allocations: 0 / 408.7 MB, free: 26.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.2617, allocations: 322.9 kB / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.2617, allocations: 23.98 kB / 409.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.2618, allocations: 89.36 kB / 409.2 MB, free: 26.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.2619, allocations: 125.2 kB / 409.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.262, allocations: 4 kB / 409.3 MB, free: 26.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001761/0.2621, allocations: 137.3 kB / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2622, allocations: 8 kB / 409.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2622, allocations: 4 kB / 409.4 MB, free: 26.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2622, allocations: 3.984 kB / 409.4 MB, free: 26.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.2623, allocations: 27.92 kB / 409.5 MB, free: 26.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2623, allocations: 4 kB / 409.5 MB, free: 26.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/0.2624, allocations: 20.19 kB / 409.5 MB, free: 26.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.2624, allocations: 4 kB / 409.5 MB, free: 26.05 MB / 298.7 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 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.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 8.173e-05/0.2625, allocations: 137.6 kB / 409.6 MB, free: 25.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.2627, allocations: 101.5 kB / 409.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.645e-05/0.2627, allocations: 12.31 kB / 409.7 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2627, allocations: 3.984 kB / 409.7 MB, free: 25.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2627, allocations: 3.938 kB / 409.7 MB, free: 25.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2627, allocations: 4 kB / 409.7 MB, free: 25.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2629, allocations: 185.5 kB / 409.9 MB, free: 25.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2629, allocations: 4 kB / 409.9 MB, free: 25.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.263, allocations: 24.59 kB / 410 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.263, allocations: 4 kB / 410 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.263, allocations: 4 kB / 410 MB, free: 25.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.263, allocations: 0 / 410 MB, free: 25.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.263, allocations: 4 kB / 410 MB, free: 25.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.2632, allocations: 233 kB / 410.2 MB, free: 25.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.2633, allocations: 100.9 kB / 410.3 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.2633, allocations: 4 kB / 410.3 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2634, allocations: 11.98 kB / 410.3 MB, free: 25.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.2635, allocations: 0 / 410.3 MB, free: 25.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2635, allocations: 4 kB / 410.3 MB, free: 25.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.043e-05/0.2635, allocations: 115.7 kB / 410.4 MB, free: 25.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2636, allocations: 4 kB / 410.4 MB, free: 25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.2638, allocations: 12 kB / 410.4 MB, free: 24.99 MB / 298.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.291e-05/0.2639, allocations: 107.2 kB / 410.5 MB, free: 24.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.2641, allocations: 84.56 kB / 410.6 MB, free: 24.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2641, allocations: 4.062 kB / 410.6 MB, free: 24.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.2641, allocations: 15.94 kB / 410.6 MB, free: 24.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.2645, allocations: 75.42 kB / 410.7 MB, free: 24.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.265, allocations: 295.2 kB / 411 MB, free: 24.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2652, allocations: 0.7043 MB / 411.7 MB, free: 23.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.032e-05/0.2652, allocations: 8.422 kB / 411.7 MB, free: 23.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.2653, allocations: 15.42 kB / 411.7 MB, free: 23.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2653, allocations: 4 kB / 411.7 MB, free: 23.62 MB / 298.7 MB Notification: Performance of Templates: time 0.002789/0.2681, allocations: 0.8607 MB / 412.6 MB, free: 22.76 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches