Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009655/0.0009656, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008243/0.0008244, allocations: 100.5 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002043/0.0002043, allocations: 4 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1661, allocations: 51.49 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07941/0.2455, allocations: 77.31 MB / 486.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.2458, allocations: 76.83 kB / 486.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002674/0.2485, allocations: 1.163 MB / 488 MB, free: 12.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2485, allocations: 1.844 kB / 488 MB, free: 12.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2485, allocations: 0 / 488 MB, free: 12.1 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002962/0.2488, allocations: 359.1 kB / 488.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.2488, allocations: 15.95 kB / 488.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.2489, allocations: 7.906 kB / 488.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.249, allocations: 186.9 kB / 488.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.249, allocations: 4 kB / 488.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.2491, allocations: 0 / 488.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.2493, allocations: 122.6 kB / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.2493, allocations: 0 / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.2493, allocations: 0 / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.2493, allocations: 0 / 488.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.223e-05/0.2494, allocations: 31.92 kB / 488.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.2497, allocations: 265.8 kB / 488.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.2499, allocations: 138.2 kB / 489.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.2499, allocations: 8.141 kB / 489.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.2499, allocations: 34.56 kB / 489.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.25, allocations: 0 / 489.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002258/0.2502, allocations: 85.52 kB / 489.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.2502, allocations: 81.11 kB / 489.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.2503, allocations: 118.8 kB / 489.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.2503, allocations: 25.7 kB / 489.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.2504, allocations: 88.14 kB / 489.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.2504, allocations: 7.844 kB / 489.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.2504, allocations: 4 kB / 489.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.2505, allocations: 322.9 kB / 489.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.2506, allocations: 8 kB / 489.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.2506, allocations: 39.59 kB / 489.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.2507, allocations: 20 kB / 489.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2507, allocations: 0 / 489.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/0.2508, allocations: 69.56 kB / 490 MB, free: 9.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2508, allocations: 4 kB / 490 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2508, allocations: 4 kB / 490 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2508, allocations: 4.125 kB / 490 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.2509, allocations: 19.92 kB / 490 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2509, allocations: 0 / 490 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.2509, allocations: 4 kB / 490 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.251, allocations: 4 kB / 490 MB, free: 9.789 MB / 362.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 6.975e-05/0.251, allocations: 113.8 kB / 490.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.2511, allocations: 53.55 kB / 490.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.2511, allocations: 12.25 kB / 490.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2511, allocations: 4 kB / 490.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2512, allocations: 3.984 kB / 490.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2512, allocations: 0 / 490.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.2513, allocations: 173.5 kB / 490.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2513, allocations: 3.984 kB / 490.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.2514, allocations: 8 kB / 490.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2514, allocations: 3.953 kB / 490.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.2514, allocations: 0 / 490.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2514, allocations: 0 / 490.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2514, allocations: 7.938 kB / 490.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.2516, allocations: 178 kB / 490.6 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.2516, allocations: 96.95 kB / 490.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.2517, allocations: 0 / 490.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.2517, allocations: 4 kB / 490.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.2517, allocations: 11.92 kB / 490.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.2518, allocations: 4 kB / 490.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.786e-05/0.2518, allocations: 102.5 kB / 490.8 MB, free: 8.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.206e-06/0.2518, allocations: 0 / 490.8 MB, free: 8.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000203/0.252, allocations: 11.94 kB / 490.8 MB, free: 8.898 MB / 362.7 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 (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 8.502e-05/0.2521, allocations: 95.25 kB / 490.9 MB, free: 8.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.2522, allocations: 43.91 kB / 490.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2523, allocations: 0 / 490.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.2523, allocations: 4 kB / 490.9 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.2525, allocations: 26.25 kB / 490.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.2528, allocations: 162.1 kB / 491.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.253, allocations: 0.6926 MB / 491.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.421e-05/0.253, allocations: 4 kB / 491.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.2531, allocations: 11.38 kB / 491.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of SimCode: time 2e-07/0.2531, allocations: 0 / 491.8 MB, free: 7.797 MB / 362.7 MB Notification: Performance of Templates: time 0.001908/0.255, allocations: 439.4 kB / 492.2 MB, free: 7.375 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches