Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007576/0.0007576, allocations: 94.42 kB / 17.31 MB, free: 5.582 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.0007853/0.0007852, allocations: 183.2 kB / 18.21 MB, free: 5.188 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.278/1.278, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 12.12 kB / 302.1 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.0871, allocations: 50.41 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001639/0.08877, allocations: 1.292 MB / 353.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007654/0.08956, allocations: 0.491 MB / 354.3 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.08965, allocations: 7.938 kB / 354.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.08968, allocations: 0 / 354.3 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.0898, allocations: 3.938 kB / 354.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.09006, allocations: 59.19 kB / 354.3 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.836e-05/0.09016, allocations: 47.84 kB / 354.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.09025, allocations: 12.17 kB / 354.4 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.09033, allocations: 23.81 kB / 354.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.09039, allocations: 23.86 kB / 354.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.09041, allocations: 0 / 354.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.09042, allocations: 4 kB / 354.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.09047, allocations: 15.91 kB / 354.5 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.09052, allocations: 49.52 kB / 354.5 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.633e-05/0.09059, allocations: 27.94 kB / 354.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.0906, allocations: 4 kB / 354.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09061, allocations: 0 / 354.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.09062, allocations: 0 / 354.5 MB, free: 1.617 MB / 286.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.000413/0.09104, allocations: 371.5 kB / 354.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.09108, allocations: 12.03 kB / 354.9 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.09111, allocations: 8.844 kB / 354.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.0913, allocations: 206.8 kB / 355.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-06/0.09132, allocations: 384 / 355.1 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.09134, allocations: 4.375 kB / 355.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.0916, allocations: 122 kB / 355.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.09161, allocations: 0 / 355.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.09163, allocations: 0 / 355.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.09164, allocations: 0 / 355.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.146e-05/0.09173, allocations: 27.92 kB / 355.3 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.09204, allocations: 278.6 kB / 355.6 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.09216, allocations: 67.8 kB / 355.6 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.09224, allocations: 38.62 kB / 355.7 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.09228, allocations: 0 / 355.7 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.09231, allocations: 42.55 kB / 355.7 MB, free: 264 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/0.09232, allocations: 0 / 355.7 MB, free: 264 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002618/0.09259, allocations: 93.45 kB / 355.8 MB, free: 164 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.09266, allocations: 102.8 kB / 355.9 MB, free: 36 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.09281, allocations: 141.8 kB / 356 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.09283, allocations: 26.08 kB / 356.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.09288, allocations: 100.1 kB / 356.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.09291, allocations: 11.89 kB / 356.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.09293, allocations: 9.719 kB / 356.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.09306, allocations: 322.8 kB / 356.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.09311, allocations: 12 kB / 356.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.09318, allocations: 39.36 kB / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.935e-05/0.09328, allocations: 47.42 kB / 356.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.09329, allocations: 0 / 356.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.09345, allocations: 77.55 kB / 356.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.09347, allocations: 8 kB / 356.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.09348, allocations: 0 / 356.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.09349, allocations: 3.938 kB / 356.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.09358, allocations: 8 kB / 356.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.0936, allocations: 4 kB / 356.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.09365, allocations: 16.02 kB / 356.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.09367, allocations: 4 kB / 356.7 MB, free: 15.16 MB / 302.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.835e-05/0.09375, allocations: 121.7 kB / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.09384, allocations: 53.62 kB / 356.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.09388, allocations: 11.88 kB / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.09388, allocations: 0 / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.09389, allocations: 0 / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.09391, allocations: 4 kB / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.09408, allocations: 177.5 kB / 357.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.09409, allocations: 4.062 kB / 357.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.09417, allocations: 15.94 kB / 357.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.09418, allocations: 0 / 357.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.09419, allocations: 3.984 kB / 357.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.0942, allocations: 0 / 357.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.0942, allocations: 4 kB / 357.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.0944, allocations: 185.2 kB / 357.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.09447, allocations: 93 kB / 357.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.09449, allocations: 0 / 357.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.09457, allocations: 4 kB / 357.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.09461, allocations: 4 kB / 357.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.09462, allocations: 0 / 357.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.522e-05/0.0947, allocations: 113.8 kB / 357.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09471, allocations: 11.94 kB / 357.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.09495, allocations: 4 kB / 357.5 MB, free: 14.25 MB / 302.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.138e-05/0.09504, allocations: 99.19 kB / 357.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.09519, allocations: 39.91 kB / 357.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0952, allocations: 256 / 357.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.09525, allocations: 16 kB / 357.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.09561, allocations: 23.95 kB / 357.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.09597, allocations: 244.4 kB / 357.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.09623, allocations: 0.6913 MB / 358.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.09628, allocations: 11.44 kB / 358.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09629, allocations: 0 / 358.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of Templates: time 0.001988/0.09828, allocations: 0.8035 MB / 359.4 MB, free: 12.26 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches