Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008834/0.0008833, allocations: 183.1 kB / 16.45 MB, free: 5.656 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.352/1.352, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0006983/0.0006983, allocations: 90.3 kB / 270.9 MB, free: 8.355 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.07174/0.07174, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 12 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07326/0.07366, allocations: 50.38 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.001277/0.07497, allocations: 1.258 MB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005702/0.07556, allocations: 496 kB / 444.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.07564, allocations: 0 / 444.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.07568, allocations: 3.938 kB / 444.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.0758, allocations: 11.94 kB / 444.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.07604, allocations: 39.89 kB / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.07612, allocations: 39.86 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.07622, allocations: 11.98 kB / 444.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.516e-05/0.07628, allocations: 15.92 kB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.07633, allocations: 15.92 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.07635, allocations: 7.938 kB / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.07637, allocations: 0 / 444.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.0764, allocations: 11.92 kB / 444.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.07643, allocations: 37.64 kB / 445 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.96e-05/0.0765, allocations: 35.94 kB / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.07651, allocations: 0 / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.07652, allocations: 0 / 445 MB, free: 13.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.07652, allocations: 4 kB / 445 MB, free: 13.79 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.0003541/0.07688, allocations: 359.3 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.07692, allocations: 12.03 kB / 445.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.07696, allocations: 11.89 kB / 445.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.07709, allocations: 190.8 kB / 445.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.07711, allocations: 7.938 kB / 445.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.07713, allocations: 8 kB / 445.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.07738, allocations: 113 kB / 445.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.0774, allocations: 0 / 445.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.07742, allocations: 0 / 445.7 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.07743, allocations: 4 kB / 445.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.07751, allocations: 27.97 kB / 445.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.07775, allocations: 265.7 kB / 446 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.07793, allocations: 142.3 kB / 446.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.814e-05/0.07799, allocations: 33.7 kB / 446.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.07802, allocations: 0 / 446.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.07803, allocations: 30.56 kB / 446.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.07804, allocations: 11.94 kB / 446.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002357/0.07828, allocations: 81.52 kB / 446.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.07832, allocations: 81.3 kB / 446.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.07841, allocations: 140 kB / 446.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.07842, allocations: 25.7 kB / 446.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.07846, allocations: 100.2 kB / 446.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.07847, allocations: 0 / 446.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.07848, allocations: 0 / 446.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.07852, allocations: 326.8 kB / 446.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.07857, allocations: 8 kB / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.172e-05/0.07862, allocations: 39.41 kB / 447 MB, free: 11.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.07867, allocations: 23.92 kB / 447 MB, free: 11.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.07868, allocations: 0 / 447 MB, free: 11.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.0788, allocations: 69.53 kB / 447.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.07882, allocations: 8.125 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.07883, allocations: 4 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.07885, allocations: 4 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.07891, allocations: 11.98 kB / 447.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.07893, allocations: 0 / 447.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.07897, allocations: 4 kB / 447.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.07899, allocations: 7.938 kB / 447.1 MB, free: 11.4 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.484e-05/0.07905, allocations: 125.6 kB / 447.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.07911, allocations: 53.59 kB / 447.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.07914, allocations: 12.25 kB / 447.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.07915, allocations: 3.938 kB / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.07916, allocations: 0 / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.07916, allocations: 0 / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.07927, allocations: 173.6 kB / 447.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.07928, allocations: 0 / 447.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.07934, allocations: 11.98 kB / 447.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.07935, allocations: 0 / 447.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.07936, allocations: 4 kB / 447.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.07937, allocations: 7.938 kB / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.07937, allocations: 0 / 447.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.07951, allocations: 176.2 kB / 447.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.07955, allocations: 85.09 kB / 447.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.07957, allocations: 3.938 kB / 447.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.07965, allocations: 15.98 kB / 447.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.07968, allocations: 0 / 447.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.07969, allocations: 4 kB / 447.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.07974, allocations: 109.7 kB / 447.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07974, allocations: 0 / 447.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.07998, allocations: 4 kB / 447.9 MB, free: 10.52 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 (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 6.638e-05/0.08005, allocations: 99.17 kB / 448 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.08018, allocations: 39.92 kB / 448 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.08019, allocations: 0 / 448 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.08023, allocations: 19.92 kB / 448 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.08056, allocations: 19.98 kB / 448.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.08084, allocations: 219.4 kB / 448.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.08095, allocations: 0.6965 MB / 449 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.08098, allocations: 7.438 kB / 449 MB, free: 9.359 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.08099, allocations: 0 / 449 MB, free: 9.359 MB / 298.7 MB Notification: Performance of Templates: time 0.001609/0.0826, allocations: 0.7462 MB / 449.7 MB, free: 8.613 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches