Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 200.7 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009493/0.0009496, allocations: 105.1 kB / 299.9 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004639, allocations: 8 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2463, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.001396/0.2477, allocations: 1.289 MB / 413.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007019/0.2485, allocations: 0.7172 MB / 414.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.2485, allocations: 0 / 414.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.2486, allocations: 3.938 kB / 414.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.2487, allocations: 7.938 kB / 414.1 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.249, allocations: 47.89 kB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.249, allocations: 43.84 kB / 414.2 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2492, allocations: 25.36 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.2493, allocations: 17.62 kB / 414.2 MB, free: 23.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.2493, allocations: 23.84 kB / 414.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.2493, allocations: 0 / 414.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.64e-05/0.2494, allocations: 4 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.2494, allocations: 16.77 kB / 414.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.2495, allocations: 49.52 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.767e-05/0.2496, allocations: 56.53 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.2496, allocations: 0 / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2496, allocations: 4 kB / 414.4 MB, free: 23.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.2496, allocations: 0 / 414.4 MB, free: 23.56 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003683/0.25, allocations: 372.7 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.25, allocations: 12.03 kB / 414.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2501, allocations: 20.83 kB / 414.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.2503, allocations: 192.1 kB / 414.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2503, allocations: 8.375 kB / 414.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.2503, allocations: 4.375 kB / 414.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.2505, allocations: 118 kB / 415.1 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.2506, allocations: 4 kB / 415.1 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2506, allocations: 7.938 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2506, allocations: 0 / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.622e-05/0.2507, allocations: 31.92 kB / 415.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.2509, allocations: 266.6 kB / 415.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.251, allocations: 75.78 kB / 415.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.2511, allocations: 38.62 kB / 415.5 MB, free: 22.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.2511, allocations: 3.938 kB / 415.5 MB, free: 22.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.2511, allocations: 38.56 kB / 415.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2511, allocations: 0 / 415.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002339/0.2514, allocations: 85.52 kB / 415.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.2514, allocations: 115.1 kB / 415.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.2515, allocations: 146.1 kB / 415.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.2515, allocations: 29.7 kB / 415.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.2516, allocations: 84.14 kB / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.2516, allocations: 3.906 kB / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.2516, allocations: 3.938 kB / 416 MB, free: 21.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.2517, allocations: 326.8 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.783e-05/0.2517, allocations: 12 kB / 416.3 MB, free: 21.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.2517, allocations: 35.42 kB / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.2518, allocations: 55.36 kB / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2518, allocations: 4 kB / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/0.2519, allocations: 65.61 kB / 416.5 MB, free: 21.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.252, allocations: 8 kB / 416.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.252, allocations: 0 / 416.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.252, allocations: 128 / 416.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.2521, allocations: 19.92 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2521, allocations: 4 kB / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.888e-05/0.2521, allocations: 7.938 kB / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.2521, allocations: 0 / 416.5 MB, free: 21.12 MB / 298.7 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 5.168e-05/0.2522, allocations: 121.7 kB / 416.6 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.2523, allocations: 57.53 kB / 416.7 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.2523, allocations: 11.88 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2523, allocations: 8.047 kB / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2523, allocations: 0 / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2523, allocations: 0 / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.2524, allocations: 173.6 kB / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2525, allocations: 3.938 kB / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.2525, allocations: 11.98 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2525, allocations: 4 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2525, allocations: 0 / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2525, allocations: 0 / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2525, allocations: 4 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.2527, allocations: 193.1 kB / 417.1 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.2527, allocations: 93 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2527, allocations: 0 / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.2528, allocations: 8 kB / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.2529, allocations: 7.984 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2529, allocations: 4 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.2529, allocations: 103.3 kB / 417.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2529, allocations: 0 / 417.3 MB, free: 20.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.2531, allocations: 12 kB / 417.3 MB, free: 20.2 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: 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 8.493e-05/0.2532, allocations: 103.2 kB / 417.4 MB, free: 20.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.2533, allocations: 39.92 kB / 417.4 MB, free: 20.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2534, allocations: 0 / 417.4 MB, free: 20.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.2534, allocations: 8 kB / 417.4 MB, free: 20.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.2537, allocations: 35.83 kB / 417.5 MB, free: 20.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.254, allocations: 207 kB / 417.7 MB, free: 19.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2541, allocations: 0.6926 MB / 418.4 MB, free: 19.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.625e-05/0.2542, allocations: 3.75 kB / 418.4 MB, free: 19.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.2542, allocations: 19.44 kB / 418.4 MB, free: 19.03 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2542, allocations: 0 / 418.4 MB, free: 19.03 MB / 298.7 MB Notification: Performance of Templates: time 0.002153/0.2563, allocations: 0.5374 MB / 418.9 MB, free: 18.5 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches