Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008025/0.0008025, allocations: 96.25 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002762, allocations: 8 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2692, allocations: 51.42 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002217/0.2715, allocations: 1.587 MB / 413.6 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.2732, allocations: 1.879 MB / 415.5 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2733, allocations: 4 kB / 415.5 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.2737, allocations: 67.73 kB / 415.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.274, allocations: 111.6 kB / 415.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006343/0.2747, allocations: 229.8 kB / 415.9 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.2749, allocations: 171 kB / 416.1 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.275, allocations: 25.53 kB / 416.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.2751, allocations: 67.64 kB / 416.2 MB, free: 21.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.2752, allocations: 71.67 kB / 416.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.2753, allocations: 7.938 kB / 416.3 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2754, allocations: 51.92 kB / 416.3 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.596e-05/0.2755, allocations: 47.83 kB / 416.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.2756, allocations: 93.19 kB / 416.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.2758, allocations: 228.7 kB / 416.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2758, allocations: 0 / 416.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2758, allocations: 0 / 416.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2758, allocations: 0 / 416.7 MB, free: 21.12 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.0006311/0.2765, allocations: 0.5117 MB / 417.2 MB, free: 20.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2765, allocations: 8.031 kB / 417.2 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.2766, allocations: 28.66 kB / 417.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.2768, allocations: 283.6 kB / 417.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2769, allocations: 384 / 417.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.2769, allocations: 16.12 kB / 417.5 MB, free: 20.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.2772, allocations: 151.6 kB / 417.7 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2772, allocations: 3.938 kB / 417.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2772, allocations: 4 kB / 417.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2773, allocations: 0 / 417.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.959e-05/0.2774, allocations: 35.97 kB / 417.7 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.2778, allocations: 390.3 kB / 418.1 MB, free: 19.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.278, allocations: 115.9 kB / 418.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.2781, allocations: 42.56 kB / 418.2 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.2781, allocations: 8.078 kB / 418.2 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.2783, allocations: 83.3 kB / 418.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.2783, allocations: 0 / 418.3 MB, free: 19.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003582/0.2787, allocations: 149.3 kB / 418.5 MB, free: 19.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.2788, allocations: 166.5 kB / 418.6 MB, free: 18.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.279, allocations: 330.7 kB / 419 MB, free: 18.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.279, allocations: 29.7 kB / 419 MB, free: 18.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.2791, allocations: 132 kB / 419.1 MB, free: 18.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.2791, allocations: 15.78 kB / 419.1 MB, free: 18.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.2792, allocations: 0 / 419.1 MB, free: 18.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.2792, allocations: 342.8 kB / 419.5 MB, free: 18.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.2793, allocations: 27.86 kB / 419.5 MB, free: 18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.2794, allocations: 86.84 kB / 419.6 MB, free: 17.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.2795, allocations: 88.47 kB / 419.7 MB, free: 17.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.2795, allocations: 0 / 419.7 MB, free: 17.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001802/0.2797, allocations: 129.3 kB / 419.8 MB, free: 17.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2797, allocations: 4 kB / 419.8 MB, free: 17.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2798, allocations: 4 kB / 419.8 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2798, allocations: 0 / 419.8 MB, free: 17.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.2799, allocations: 19.98 kB / 419.8 MB, free: 17.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2799, allocations: 128 / 419.8 MB, free: 17.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.28, allocations: 11.94 kB / 419.8 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.28, allocations: 8 kB / 419.8 MB, free: 17.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,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.67e-05/0.2801, allocations: 157.7 kB / 420 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.2802, allocations: 65.41 kB / 420 MB, free: 17.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.2802, allocations: 25.72 kB / 420.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2802, allocations: 0 / 420.1 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2802, allocations: 7.984 kB / 420.1 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2802, allocations: 11.94 kB / 420.1 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.2804, allocations: 241.4 kB / 420.3 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2804, allocations: 0 / 420.3 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.2805, allocations: 15.98 kB / 420.3 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2805, allocations: 0 / 420.3 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2805, allocations: 4 kB / 420.3 MB, free: 17.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2805, allocations: 4 kB / 420.4 MB, free: 17.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2805, allocations: 0 / 420.4 MB, free: 17.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.2807, allocations: 166.4 kB / 420.5 MB, free: 16.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.2808, allocations: 116.9 kB / 420.6 MB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.2808, allocations: 3.938 kB / 420.6 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.2809, allocations: 12.06 kB / 420.6 MB, free: 16.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.2809, allocations: 7.984 kB / 420.7 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.281, allocations: 11.92 kB / 420.7 MB, free: 16.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.2811, allocations: 245.9 kB / 420.9 MB, free: 16.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2811, allocations: 4 kB / 420.9 MB, free: 16.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000221/0.2814, allocations: 35.91 kB / 420.9 MB, free: 16.39 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.0008606/0.2822, allocations: 488.8 kB / 421.4 MB, free: 16.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.2825, allocations: 71.91 kB / 421.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.2825, allocations: 0 / 421.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.55e-05/0.2826, allocations: 28.23 kB / 421.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.283, allocations: 73.05 kB / 421.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.2836, allocations: 416.4 kB / 422 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.2838, allocations: 0.7478 MB / 422.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.722e-05/0.2839, allocations: 25.55 kB / 422.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.284, allocations: 23.42 kB / 422.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.284, allocations: 0 / 422.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of Templates: time 0.005364/0.2893, allocations: 2.689 MB / 425.5 MB, free: 11.92 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches