Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 195.5 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 226.5 MB / 244.7 MB, free: 6.434 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000763/0.0007627, allocations: 106.9 kB / 296.8 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002177/0.0002177, allocations: 4 kB / 356.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2364, allocations: 51.3 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.001475/0.2379, allocations: 1.288 MB / 409.3 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006419/0.2386, allocations: 0.4952 MB / 409.8 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.061e-05/0.2387, allocations: 5.344 kB / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.2387, allocations: 4 kB / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.2389, allocations: 3.938 kB / 409.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.2392, allocations: 58.25 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.756e-05/0.2393, allocations: 39.86 kB / 409.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.2394, allocations: 16.17 kB / 410 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2395, allocations: 12.5 kB / 410 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.2396, allocations: 27.84 kB / 410 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.2396, allocations: 1.531 kB / 410 MB, free: 25.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.077e-05/0.2396, allocations: 4 kB / 410 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.2397, allocations: 15.92 kB / 410 MB, free: 25.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.2397, allocations: 45.58 kB / 410.1 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.899e-05/0.2398, allocations: 37.39 kB / 410.1 MB, free: 25.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2398, allocations: 7.938 kB / 410.1 MB, free: 25.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2398, allocations: 0 / 410.1 MB, free: 25.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2398, allocations: 3.938 kB / 410.1 MB, free: 25.62 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.0003798/0.2402, allocations: 369.4 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2403, allocations: 8.562 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.2404, allocations: 17.53 kB / 410.5 MB, free: 25.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.2406, allocations: 203.2 kB / 410.7 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.2406, allocations: 1.875 kB / 410.7 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2406, allocations: 4.375 kB / 410.7 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.2408, allocations: 129.7 kB / 410.8 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2409, allocations: 0 / 410.8 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2409, allocations: 0 / 410.8 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2409, allocations: 0 / 410.8 MB, free: 24.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.241, allocations: 33.5 kB / 410.9 MB, free: 24.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.2413, allocations: 274.6 kB / 411.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.833e-05/0.2414, allocations: 71.78 kB / 411.2 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.2414, allocations: 42.58 kB / 411.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.2414, allocations: 0 / 411.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.2415, allocations: 38.55 kB / 411.3 MB, free: 24.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2415, allocations: 0 / 411.3 MB, free: 24.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000236/0.2417, allocations: 89.7 kB / 411.4 MB, free: 24.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2418, allocations: 110.8 kB / 411.5 MB, free: 24.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.2419, allocations: 141.8 kB / 411.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.2419, allocations: 25.7 kB / 411.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.2419, allocations: 88.14 kB / 411.7 MB, free: 23.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.2419, allocations: 7.906 kB / 411.7 MB, free: 23.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.2419, allocations: 192 / 411.7 MB, free: 23.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.242, allocations: 326.8 kB / 412.1 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.952e-05/0.242, allocations: 8 kB / 412.1 MB, free: 23.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.2421, allocations: 35.42 kB / 412.1 MB, free: 23.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.801e-05/0.2422, allocations: 55.36 kB / 412.2 MB, free: 23.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2422, allocations: 0 / 412.2 MB, free: 23.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001112/0.2423, allocations: 77.67 kB / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.2423, allocations: 4 kB / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2423, allocations: 0 / 412.2 MB, free: 23.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2423, allocations: 4 kB / 412.2 MB, free: 23.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.2424, allocations: 11.94 kB / 412.2 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2424, allocations: 0 / 412.2 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.2425, allocations: 15.86 kB / 412.3 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.2425, allocations: 0 / 412.3 MB, free: 23.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.415e-05/0.2425, allocations: 125.8 kB / 412.4 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.179e-05/0.2426, allocations: 57.53 kB / 412.4 MB, free: 22.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.2427, allocations: 15.81 kB / 412.5 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2427, allocations: 0 / 412.5 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2427, allocations: 4 kB / 412.5 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2427, allocations: 0 / 412.5 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2428, allocations: 173.7 kB / 412.6 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2428, allocations: 4 kB / 412.6 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.2429, allocations: 11.98 kB / 412.6 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2429, allocations: 4.062 kB / 412.6 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2429, allocations: 3.984 kB / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2429, allocations: 4 kB / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2429, allocations: 0 / 412.7 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.243, allocations: 189 kB / 412.8 MB, free: 22.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.2431, allocations: 89 kB / 412.9 MB, free: 22.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.2431, allocations: 4 kB / 412.9 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.2432, allocations: 4 kB / 412.9 MB, free: 22.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.2432, allocations: 4 kB / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.2432, allocations: 0 / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.967e-05/0.2433, allocations: 110.3 kB / 413 MB, free: 22.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2433, allocations: 0 / 413 MB, free: 22.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.2435, allocations: 8 kB / 413.1 MB, free: 22.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.361e-05/0.2436, allocations: 99.25 kB / 413.2 MB, free: 22.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.2437, allocations: 39.91 kB / 413.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2437, allocations: 0 / 413.2 MB, free: 22.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/0.2438, allocations: 8 kB / 413.2 MB, free: 22.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.2441, allocations: 36.2 kB / 413.2 MB, free: 22.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.2444, allocations: 232.1 kB / 413.5 MB, free: 21.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.2445, allocations: 0.6967 MB / 414.2 MB, free: 21.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.2445, allocations: 7.438 kB / 414.2 MB, free: 21.09 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2445, allocations: 0 / 414.2 MB, free: 21.09 MB / 298.7 MB Notification: Performance of Templates: time 0.001731/0.2463, allocations: 0.8069 MB / 415 MB, free: 20.3 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches