Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 114.4 kB / 17.74 MB, free: 5.359 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.00115/0.001151, allocations: 184.5 kB / 18.66 MB, free: 4.445 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.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 55.91 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2616, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002544/0.2642, allocations: 1.586 MB / 403 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.265, allocations: 478.7 kB / 403.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.2651, allocations: 4 kB / 403.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.2651, allocations: 3.938 kB / 403.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2652, allocations: 11.86 kB / 403.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.2655, allocations: 51.89 kB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.613e-05/0.2656, allocations: 47.78 kB / 403.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.2657, allocations: 16.17 kB / 403.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.2658, allocations: 27.86 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.2658, allocations: 23.8 kB / 403.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2659, allocations: 4 kB / 403.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.2659, allocations: 4 kB / 403.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.2659, allocations: 15.92 kB / 403.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.266, allocations: 27.8 kB / 403.7 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.2661, allocations: 63.73 kB / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2661, allocations: 0 / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2661, allocations: 0 / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2661, allocations: 0 / 403.8 MB, free: 6.508 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.000443/0.2665, allocations: 368.3 kB / 404.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.2666, allocations: 8.031 kB / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.2666, allocations: 8.844 kB / 404.1 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.2668, allocations: 204 kB / 404.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.2669, allocations: 4.375 kB / 404.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.2669, allocations: 384 / 404.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.2671, allocations: 118 kB / 404.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2672, allocations: 4 kB / 404.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2672, allocations: 3.984 kB / 404.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2672, allocations: 4 kB / 404.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.256e-05/0.2673, allocations: 23.92 kB / 404.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.2676, allocations: 266.6 kB / 404.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.2677, allocations: 75.78 kB / 404.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.2677, allocations: 26.64 kB / 404.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2678, allocations: 7.984 kB / 404.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.2678, allocations: 38.55 kB / 404.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.2678, allocations: 3.938 kB / 404.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002475/0.2681, allocations: 89.44 kB / 405 MB, free: 5.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.2681, allocations: 110.8 kB / 405.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2683, allocations: 142.1 kB / 405.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2683, allocations: 29.7 kB / 405.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.2683, allocations: 92.05 kB / 405.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.2684, allocations: 4 kB / 405.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.2684, allocations: 13.72 kB / 405.4 MB, free: 4.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2685, allocations: 326.8 kB / 405.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.2686, allocations: 7.984 kB / 405.7 MB, free: 4.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.938e-05/0.2686, allocations: 39.38 kB / 405.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.686e-05/0.2687, allocations: 39.42 kB / 405.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2687, allocations: 0 / 405.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001339/0.2689, allocations: 81.45 kB / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2689, allocations: 8 kB / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2689, allocations: 0 / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2689, allocations: 0 / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.269, allocations: 15.92 kB / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.269, allocations: 0 / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.269, allocations: 7.938 kB / 405.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2691, allocations: 4 kB / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 7.426e-05/0.2691, allocations: 129.8 kB / 406 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.2692, allocations: 45.61 kB / 406.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.2693, allocations: 15.86 kB / 406.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2693, allocations: 8 kB / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2693, allocations: 0 / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2693, allocations: 0 / 406.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.2695, allocations: 173.6 kB / 406.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2695, allocations: 0 / 406.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.2695, allocations: 15.92 kB / 406.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2695, allocations: 4.062 kB / 406.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2695, allocations: 0 / 406.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2696, allocations: 4 kB / 406.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2696, allocations: 0 / 406.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.2697, allocations: 177.1 kB / 406.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.2698, allocations: 97 kB / 406.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.2698, allocations: 4 kB / 406.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.2699, allocations: 7.938 kB / 406.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.27, allocations: 7.984 kB / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.27, allocations: 0 / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.673e-05/0.27, allocations: 114 kB / 406.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.27, allocations: 0 / 406.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000233/0.2703, allocations: 8 kB / 406.7 MB, free: 3.176 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 9.348e-05/0.2704, allocations: 108 kB / 406.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.2705, allocations: 31.92 kB / 406.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2705, allocations: 0 / 406.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.2706, allocations: 7.984 kB / 406.8 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.2709, allocations: 35.95 kB / 406.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.2712, allocations: 210.8 kB / 407.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2715, allocations: 0.6922 MB / 407.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.2715, allocations: 11.44 kB / 407.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2715, allocations: 0 / 407.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of Templates: time 0.002066/0.2736, allocations: 0.8332 MB / 408.6 MB, free: 1.184 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches