Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 112.6 kB / 17.06 MB, free: 5.973 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.001277/0.001277, allocations: 200 kB / 18 MB, free: 5.055 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.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 51.86 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2693, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003225/0.2726, allocations: 1.552 MB / 402.3 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.2736, allocations: 474.7 kB / 402.7 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2737, allocations: 4 kB / 402.7 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.2738, allocations: 3.938 kB / 402.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.274, allocations: 19.84 kB / 402.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.2743, allocations: 46.77 kB / 402.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.2744, allocations: 47.8 kB / 402.8 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2745, allocations: 15.98 kB / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.2746, allocations: 15.94 kB / 402.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.2747, allocations: 23.84 kB / 402.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.2747, allocations: 4 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.2747, allocations: 8 kB / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.2748, allocations: 11.98 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.2749, allocations: 23.81 kB / 402.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.275, allocations: 63.67 kB / 403 MB, free: 6.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.275, allocations: 3.938 kB / 403 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.275, allocations: 0 / 403 MB, free: 6.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.275, allocations: 0 / 403 MB, free: 6.555 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.0005421/0.2756, allocations: 368.3 kB / 403.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2756, allocations: 12.03 kB / 403.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.2757, allocations: 8.844 kB / 403.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.2759, allocations: 211.1 kB / 403.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.2759, allocations: 384 / 403.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.276, allocations: 4.375 kB / 403.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.2762, allocations: 117.3 kB / 403.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2762, allocations: 3.984 kB / 403.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2763, allocations: 0 / 403.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2763, allocations: 3.938 kB / 403.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.184e-05/0.2763, allocations: 19.98 kB / 403.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.2767, allocations: 249.8 kB / 404 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.2768, allocations: 53.14 kB / 404 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.2768, allocations: 25.77 kB / 404.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2768, allocations: 0 / 404.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2769, allocations: 30.56 kB / 404.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2769, allocations: 0 / 404.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002373/0.2771, allocations: 73.52 kB / 404.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.2772, allocations: 81.11 kB / 404.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2773, allocations: 138.1 kB / 404.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2773, allocations: 25.7 kB / 404.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2775, allocations: 92.12 kB / 404.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.2775, allocations: 3.906 kB / 404.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.2775, allocations: 21.97 kB / 404.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2777, allocations: 310.8 kB / 404.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.2777, allocations: 11.98 kB / 404.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.2778, allocations: 17.72 kB / 404.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.326e-05/0.2778, allocations: 33.7 kB / 404.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2778, allocations: 4 kB / 404.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00011/0.278, allocations: 57.61 kB / 404.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.278, allocations: 4 kB / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.278, allocations: 4 kB / 405 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.278, allocations: 0 / 405 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.2781, allocations: 7.938 kB / 405 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2781, allocations: 0 / 405 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.2781, allocations: 7.984 kB / 405 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.2782, allocations: 4.062 kB / 405 MB, free: 4.328 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.631e-05/0.2782, allocations: 117.8 kB / 405.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/0.2783, allocations: 41.55 kB / 405.1 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.2784, allocations: 19.8 kB / 405.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2784, allocations: 0 / 405.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2784, allocations: 0 / 405.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2784, allocations: 0 / 405.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.2785, allocations: 173.5 kB / 405.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2786, allocations: 4 kB / 405.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.2786, allocations: 8.031 kB / 405.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2786, allocations: 0 / 405.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2786, allocations: 7.984 kB / 405.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2786, allocations: 0 / 405.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2786, allocations: 4 kB / 405.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.2788, allocations: 156.2 kB / 405.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.2789, allocations: 97.03 kB / 405.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2789, allocations: 4 kB / 405.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.279, allocations: 3.984 kB / 405.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.279, allocations: 0 / 405.6 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.279, allocations: 4 kB / 405.6 MB, free: 3.594 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.806e-05/0.2791, allocations: 105.8 kB / 405.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2791, allocations: 0 / 405.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.2793, allocations: 7.984 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.0001055/0.2794, allocations: 104 kB / 405.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.2796, allocations: 23.92 kB / 405.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2796, allocations: 4 kB / 405.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.2796, allocations: 8 kB / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2799, allocations: 19.95 kB / 405.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.2803, allocations: 155.9 kB / 406 MB, free: 3.141 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.2806, allocations: 0.7 MB / 406.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.016e-05/0.2806, allocations: 4 kB / 406.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.2807, allocations: 7.438 kB / 406.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2807, allocations: 3.938 kB / 406.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of Templates: time 0.002743/0.2834, allocations: 0.5204 MB / 407.3 MB, free: 1.883 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches