Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008348/0.0008348, allocations: 173.5 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205 MB / 222.5 MB, free: 9.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006991/0.0006991, allocations: 89 kB / 270.5 MB, free: 8.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06701/0.06701, allocations: 12.57 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 16 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08211/0.08248, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2): time 0.001216/0.08372, allocations: 1.266 MB / 443 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002587/0.08399, allocations: 139.5 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.08407, allocations: 4 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.08412, allocations: 0 / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.08423, allocations: 3.938 kB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.08443, allocations: 35.91 kB / 443.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.0845, allocations: 31.86 kB / 443.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.08459, allocations: 19.98 kB / 443.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.312e-05/0.08462, allocations: 11.94 kB / 443.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.166e-05/0.08466, allocations: 7.938 kB / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.08468, allocations: 0 / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.08469, allocations: 0 / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.08474, allocations: 19.92 kB / 443.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.08478, allocations: 23.8 kB / 443.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.403e-05/0.08484, allocations: 27.95 kB / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.08485, allocations: 4 kB / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.08485, allocations: 0 / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.08486, allocations: 0 / 443.3 MB, free: 14.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003085/0.08517, allocations: 355.5 kB / 443.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.08522, allocations: 8.031 kB / 443.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.08525, allocations: 8.844 kB / 443.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.08538, allocations: 200.1 kB / 443.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.08539, allocations: 384 / 443.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.08541, allocations: 8.375 kB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.08563, allocations: 113.6 kB / 444 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.08565, allocations: 192 / 444 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.08566, allocations: 7.938 kB / 444 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.08567, allocations: 0 / 444 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.08575, allocations: 31.92 kB / 444 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.08597, allocations: 257.7 kB / 444.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.08613, allocations: 146.2 kB / 444.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.544e-05/0.0862, allocations: 29.77 kB / 444.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.08622, allocations: 7.938 kB / 444.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.08624, allocations: 34.56 kB / 444.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.08625, allocations: 0 / 444.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002057/0.08646, allocations: 81.61 kB / 444.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.0865, allocations: 77.11 kB / 444.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.08659, allocations: 142 kB / 444.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.0866, allocations: 25.7 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.08663, allocations: 88.12 kB / 444.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.08665, allocations: 8.031 kB / 444.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.08668, allocations: 13.72 kB / 444.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.278e-05/0.08673, allocations: 314.8 kB / 445.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.08677, allocations: 11.98 kB / 445.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.08681, allocations: 43.53 kB / 445.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.08688, allocations: 51.36 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.08689, allocations: 0 / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.087, allocations: 73.56 kB / 445.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.08702, allocations: 4 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.08703, allocations: 0 / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.08705, allocations: 8 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.0871, allocations: 11.98 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.08711, allocations: 0 / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.08715, allocations: 7.906 kB / 445.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.08716, allocations: 4 kB / 445.4 MB, free: 12.36 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.078e-05/0.08721, allocations: 129.8 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.08727, allocations: 41.7 kB / 445.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.0873, allocations: 16.17 kB / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.08731, allocations: 4 kB / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.08732, allocations: 0 / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.08733, allocations: 0 / 445.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.08744, allocations: 173.5 kB / 445.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.08745, allocations: 0 / 445.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.0875, allocations: 12 kB / 445.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.08751, allocations: 4 kB / 445.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.08752, allocations: 0 / 445.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.08752, allocations: 0 / 445.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.08753, allocations: 3.984 kB / 445.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.08765, allocations: 172.2 kB / 446 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.0877, allocations: 97 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.08771, allocations: 0 / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.514e-05/0.08777, allocations: 7.984 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.0878, allocations: 0 / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.08781, allocations: 4 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.08785, allocations: 99.27 kB / 446.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08786, allocations: 0 / 446.2 MB, free: 11.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.08806, allocations: 8 kB / 446.2 MB, free: 11.5 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.868e-05/0.08813, allocations: 107.2 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.08824, allocations: 31.92 kB / 446.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.08825, allocations: 0 / 446.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.08828, allocations: 8 kB / 446.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.08858, allocations: 31.89 kB / 446.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.08882, allocations: 198.1 kB / 446.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.08894, allocations: 0.6887 MB / 447.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.08897, allocations: 7.438 kB / 447.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.08897, allocations: 0 / 447.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of Templates: time 0.001512/0.09049, allocations: 0.6894 MB / 447.9 MB, free: 9.68 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches