Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 114.6 kB / 17.07 MB, free: 5.988 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.001812/0.001812, allocations: 194.8 kB / 18 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009/0.0009, allocations: 43.92 kB / 351.3 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2698, allocations: 49.43 MB / 400.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003088/0.2729, allocations: 1.557 MB / 402.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009305/0.2739, allocations: 0.4947 MB / 402.8 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.274, allocations: 3.938 kB / 402.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.069e-05/0.2741, allocations: 3.938 kB / 402.8 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.2743, allocations: 15.92 kB / 402.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.2746, allocations: 51.77 kB / 402.8 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2747, allocations: 39.86 kB / 402.9 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2749, allocations: 23.97 kB / 402.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.016e-05/0.2749, allocations: 19.88 kB / 402.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.275, allocations: 19.86 kB / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.275, allocations: 4 kB / 402.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.2751, allocations: 4 kB / 402.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.2751, allocations: 11.98 kB / 403 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.2752, allocations: 23.8 kB / 403 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2753, allocations: 59.75 kB / 403 MB, free: 6.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2753, allocations: 7.938 kB / 403 MB, free: 6.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2753, allocations: 0 / 403 MB, free: 6.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.2753, allocations: 0 / 403 MB, free: 6.566 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004969/0.2758, allocations: 372.3 kB / 403.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2759, allocations: 12.02 kB / 403.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.2759, allocations: 8.844 kB / 403.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.2761, allocations: 211.9 kB / 403.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.2761, allocations: 4.375 kB / 403.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.2762, allocations: 4.375 kB / 403.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2764, allocations: 113.3 kB / 403.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2764, allocations: 0 / 403.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2764, allocations: 0 / 403.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.2765, allocations: 3.984 kB / 403.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.2765, allocations: 19.98 kB / 403.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.2769, allocations: 261.7 kB / 404 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.2769, allocations: 45.2 kB / 404.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.277, allocations: 17.78 kB / 404.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.277, allocations: 7.984 kB / 404.1 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.2771, allocations: 38.5 kB / 404.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2771, allocations: 0 / 404.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002432/0.2773, allocations: 65.52 kB / 404.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.2774, allocations: 81.36 kB / 404.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2775, allocations: 138.2 kB / 404.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2775, allocations: 29.7 kB / 404.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.2776, allocations: 84.14 kB / 404.5 MB, free: 4.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.2776, allocations: 11.89 kB / 404.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.2776, allocations: 9.719 kB / 404.5 MB, free: 4.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2777, allocations: 318.8 kB / 404.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.2778, allocations: 7.984 kB / 404.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.2778, allocations: 21.72 kB / 404.9 MB, free: 4.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.2779, allocations: 37.58 kB / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2779, allocations: 0 / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/0.278, allocations: 49.77 kB / 405 MB, free: 4.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.278, allocations: 12.03 kB / 405 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.278, allocations: 0 / 405 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2781, allocations: 0 / 405 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.2781, allocations: 11.94 kB / 405 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2782, allocations: 0 / 405 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.2782, allocations: 11.92 kB / 405 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2782, allocations: 0 / 405 MB, free: 4.332 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.486e-05/0.2783, allocations: 117.8 kB / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.2784, allocations: 45.61 kB / 405.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.2784, allocations: 15.8 kB / 405.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2784, allocations: 0 / 405.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2784, allocations: 0 / 405.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2784, allocations: 4 kB / 405.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2786, allocations: 173.5 kB / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2786, allocations: 0 / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.2787, allocations: 4 kB / 405.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2787, allocations: 0 / 405.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2787, allocations: 7.984 kB / 405.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2787, allocations: 7.938 kB / 405.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2787, allocations: 4.031 kB / 405.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.2789, allocations: 160.2 kB / 405.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.2789, allocations: 93 kB / 405.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2789, allocations: 0 / 405.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.279, allocations: 3.984 kB / 405.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.2791, allocations: 8.031 kB / 405.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.2791, allocations: 0 / 405.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.736e-05/0.2791, allocations: 106 kB / 405.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2792, allocations: 0 / 405.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.2794, allocations: 8 kB / 405.7 MB, free: 3.484 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.0001004/0.2795, allocations: 104 kB / 405.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.2796, allocations: 23.98 kB / 405.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2796, allocations: 4.062 kB / 405.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.2797, allocations: 4 kB / 405.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.28, allocations: 19.95 kB / 405.9 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.2803, allocations: 163.5 kB / 406.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.2806, allocations: 0.6922 MB / 406.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.644e-05/0.2806, allocations: 4.156 kB / 406.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.2806, allocations: 11.44 kB / 406.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2806, allocations: 0 / 406.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of Templates: time 0.002361/0.283, allocations: 0.527 MB / 407.3 MB, free: 1.883 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches