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.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 186.4 kB / 16.71 MB, free: 4.965 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.35/1.35, allocations: 225.7 MB / 243.2 MB, free: 8.445 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.0007636/0.0007636, allocations: 94.67 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.0002608, allocations: 7.938 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2422, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002087/0.2443, allocations: 1.555 MB / 406.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.2458, allocations: 1.412 MB / 407.5 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2459, allocations: 2.281 kB / 407.5 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.2462, allocations: 67.73 kB / 407.6 MB, free: 28.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.2464, allocations: 75.78 kB / 407.7 MB, free: 28.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.247, allocations: 230.1 kB / 407.9 MB, free: 27.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.2472, allocations: 159.5 kB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.2473, allocations: 30.72 kB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.2474, allocations: 60.22 kB / 408.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.2475, allocations: 72.28 kB / 408.2 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2475, allocations: 4 kB / 408.2 MB, free: 27.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2477, allocations: 48.48 kB / 408.3 MB, free: 27.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.2477, allocations: 45.91 kB / 408.3 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.2478, allocations: 101.1 kB / 408.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.2481, allocations: 220.8 kB / 408.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2481, allocations: 0 / 408.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2481, allocations: 0 / 408.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2481, allocations: 0 / 408.6 MB, free: 27.16 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.0005809/0.2487, allocations: 0.4965 MB / 409.1 MB, free: 26.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2487, allocations: 12.03 kB / 409.1 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.2488, allocations: 24.66 kB / 409.2 MB, free: 26.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.2491, allocations: 291.5 kB / 409.4 MB, free: 26.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2491, allocations: 4.375 kB / 409.5 MB, free: 26.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2491, allocations: 12.12 kB / 409.5 MB, free: 26.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.2494, allocations: 159.5 kB / 409.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2494, allocations: 4 kB / 409.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2494, allocations: 0 / 409.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2495, allocations: 0 / 409.6 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.748e-05/0.2496, allocations: 35.92 kB / 409.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.25, allocations: 382.4 kB / 410 MB, free: 25.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.2502, allocations: 119.9 kB / 410.1 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.2502, allocations: 50.5 kB / 410.2 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.2503, allocations: 4 kB / 410.2 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.2505, allocations: 71.38 kB / 410.3 MB, free: 25.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2505, allocations: 4 kB / 410.3 MB, free: 25.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003397/0.2508, allocations: 157.2 kB / 410.4 MB, free: 25.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.2509, allocations: 158.2 kB / 410.6 MB, free: 24.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.2511, allocations: 322.7 kB / 410.9 MB, free: 24.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.2512, allocations: 29.7 kB / 410.9 MB, free: 24.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.225e-05/0.2512, allocations: 124.3 kB / 411 MB, free: 24.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.2513, allocations: 27.73 kB / 411.1 MB, free: 24.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.2513, allocations: 4 kB / 411.1 MB, free: 24.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.2514, allocations: 334.8 kB / 411.4 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.2514, allocations: 23.98 kB / 411.4 MB, free: 24.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.761e-05/0.2515, allocations: 86.78 kB / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2516, allocations: 92.16 kB / 411.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2516, allocations: 0 / 411.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001742/0.2518, allocations: 113.5 kB / 411.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2519, allocations: 12.03 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2519, allocations: 0 / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2519, allocations: 7.938 kB / 411.7 MB, free: 23.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.252, allocations: 20.23 kB / 411.8 MB, free: 23.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.252, allocations: 4 kB / 411.8 MB, free: 23.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.2521, allocations: 15.92 kB / 411.8 MB, free: 23.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2521, allocations: 11.94 kB / 411.8 MB, free: 23.67 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,subSample1.y,subSample1.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 9.88e-05/0.2522, allocations: 149.8 kB / 411.9 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.2523, allocations: 73.34 kB / 412 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.2523, allocations: 25.7 kB / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2523, allocations: 4 kB / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2523, allocations: 0 / 412 MB, free: 23.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.2523, allocations: 3.938 kB / 412 MB, free: 23.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.2525, allocations: 241.5 kB / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2525, allocations: 0 / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.2526, allocations: 15.98 kB / 412.3 MB, free: 23.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2526, allocations: 0 / 412.3 MB, free: 23.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2526, allocations: 0 / 412.3 MB, free: 23.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2526, allocations: 12 kB / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2526, allocations: 0 / 412.3 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2528, allocations: 162.5 kB / 412.5 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.2529, allocations: 124.7 kB / 412.6 MB, free: 22.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.253, allocations: 4 kB / 412.6 MB, free: 22.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.253, allocations: 8 kB / 412.6 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.2531, allocations: 11.98 kB / 412.6 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2531, allocations: 7.938 kB / 412.6 MB, free: 22.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001673/0.2533, allocations: 237.9 kB / 412.8 MB, free: 22.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2533, allocations: 0 / 412.8 MB, free: 22.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.2535, allocations: 32 kB / 412.9 MB, free: 22.47 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,subSample1.y,sample1.y,subSample1.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.0009428/0.2545, allocations: 481.8 kB / 413.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.2547, allocations: 71.91 kB / 413.4 MB, free: 22.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2547, allocations: 0 / 413.4 MB, free: 22.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.2548, allocations: 35.92 kB / 413.5 MB, free: 22.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2551, allocations: 72.97 kB / 413.5 MB, free: 21.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.2556, allocations: 416.8 kB / 413.9 MB, free: 21.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.2558, allocations: 0.7361 MB / 414.7 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.402e-05/0.2559, allocations: 21.55 kB / 414.7 MB, free: 20.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.2559, allocations: 31.42 kB / 414.7 MB, free: 20.7 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.256, allocations: 0 / 414.7 MB, free: 20.7 MB / 298.7 MB Notification: Performance of Templates: time 0.005239/0.2612, allocations: 2.659 MB / 417.4 MB, free: 18.05 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches