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.IntegerSignals.SuperSample.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 185 kB / 16.72 MB, free: 4.84 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.386/1.386, allocations: 225.7 MB / 243.2 MB, free: 8.438 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.0007749/0.000775, allocations: 87.86 kB / 294.4 MB, free: 9.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 7.938 kB / 354.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2833, allocations: 50.42 MB / 404.6 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00198/0.2853, allocations: 1.551 MB / 406.1 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2868, allocations: 1.439 MB / 407.6 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.2869, allocations: 5.781 kB / 407.6 MB, free: 28.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.2872, allocations: 63.78 kB / 407.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.2874, allocations: 75.73 kB / 407.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.2881, allocations: 231.4 kB / 407.9 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.2882, allocations: 163.5 kB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2883, allocations: 22.62 kB / 408.1 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.2884, allocations: 63.69 kB / 408.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.2885, allocations: 75.62 kB / 408.3 MB, free: 27.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2886, allocations: 4.5 kB / 408.3 MB, free: 27.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.2887, allocations: 44.72 kB / 408.3 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.507e-05/0.2888, allocations: 47.83 kB / 408.4 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.2889, allocations: 99.41 kB / 408.4 MB, free: 27.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.2891, allocations: 216.8 kB / 408.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2892, allocations: 0 / 408.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2892, allocations: 0 / 408.7 MB, free: 27.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.2892, allocations: 0 / 408.7 MB, free: 27.1 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005743/0.2897, allocations: 0.5031 MB / 409.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2898, allocations: 12.02 kB / 409.2 MB, free: 26.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.2899, allocations: 28.64 kB / 409.2 MB, free: 26.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.2901, allocations: 283.5 kB / 409.5 MB, free: 26.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2901, allocations: 4.375 kB / 409.5 MB, free: 26.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.2902, allocations: 8.125 kB / 409.5 MB, free: 26.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.2905, allocations: 157.9 kB / 409.6 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2905, allocations: 4 kB / 409.7 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.2905, allocations: 11.98 kB / 409.7 MB, free: 25.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2905, allocations: 0 / 409.7 MB, free: 25.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.926e-05/0.2906, allocations: 31.92 kB / 409.7 MB, free: 25.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.291, allocations: 382.4 kB / 410.1 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.2913, allocations: 119.8 kB / 410.2 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/0.2913, allocations: 46.55 kB / 410.2 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2914, allocations: 4 kB / 410.2 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.2916, allocations: 79.39 kB / 410.3 MB, free: 25.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.2916, allocations: 0 / 410.3 MB, free: 25.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003516/0.2919, allocations: 153.2 kB / 410.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.292, allocations: 166.5 kB / 410.6 MB, free: 24.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.2923, allocations: 322.7 kB / 410.9 MB, free: 24.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2923, allocations: 29.7 kB / 411 MB, free: 24.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.2924, allocations: 132 kB / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2924, allocations: 19.75 kB / 411.1 MB, free: 24.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.2924, allocations: 0 / 411.1 MB, free: 24.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.2925, allocations: 334.8 kB / 411.4 MB, free: 24.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.2926, allocations: 23.98 kB / 411.5 MB, free: 24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.2926, allocations: 86.86 kB / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2928, allocations: 92.14 kB / 411.6 MB, free: 23.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2928, allocations: 0 / 411.6 MB, free: 23.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001959/0.293, allocations: 113.4 kB / 411.8 MB, free: 23.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.293, allocations: 8 kB / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.293, allocations: 0 / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.293, allocations: 3.938 kB / 411.8 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2932, allocations: 27.92 kB / 411.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.2932, allocations: 0 / 411.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.2933, allocations: 16.06 kB / 411.8 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.2933, allocations: 4 kB / 411.8 MB, free: 23.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001061/0.2934, allocations: 153.8 kB / 412 MB, free: 23.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.2934, allocations: 65.36 kB / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.2935, allocations: 29.7 kB / 412.1 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2935, allocations: 0 / 412.1 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2935, allocations: 4 kB / 412.1 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2935, allocations: 7.875 kB / 412.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.2937, allocations: 245.5 kB / 412.3 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2937, allocations: 320 / 412.3 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.2938, allocations: 8 kB / 412.3 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2938, allocations: 4 kB / 412.3 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2938, allocations: 7.938 kB / 412.3 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2938, allocations: 3.984 kB / 412.3 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2938, allocations: 4 kB / 412.3 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.294, allocations: 158.5 kB / 412.5 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.2941, allocations: 120.7 kB / 412.6 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.2941, allocations: 8.031 kB / 412.6 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.055e-05/0.2942, allocations: 11.98 kB / 412.6 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.2942, allocations: 7.984 kB / 412.6 MB, free: 22.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.2943, allocations: 7.938 kB / 412.6 MB, free: 22.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001629/0.2944, allocations: 237.9 kB / 412.9 MB, free: 22.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2944, allocations: 0 / 412.9 MB, free: 22.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.2947, allocations: 43.98 kB / 412.9 MB, free: 22.4 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008767/0.2956, allocations: 487.3 kB / 413.4 MB, free: 22.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.2958, allocations: 75.83 kB / 413.5 MB, free: 21.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2958, allocations: 0 / 413.5 MB, free: 21.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.2959, allocations: 27.98 kB / 413.5 MB, free: 21.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.2963, allocations: 64.67 kB / 413.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.2968, allocations: 420.2 kB / 414 MB, free: 21.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.297, allocations: 0.744 MB / 414.7 MB, free: 20.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.145e-05/0.2971, allocations: 25.48 kB / 414.7 MB, free: 20.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.2972, allocations: 19.44 kB / 414.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2972, allocations: 0 / 414.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of Templates: time 0.005196/0.3024, allocations: 2.663 MB / 417.4 MB, free: 17.98 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches