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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007428/0.0007429, allocations: 102.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000792/0.000792, allocations: 182.7 kB / 16.97 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 223.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0618/0.0618, allocations: 12.59 MB / 284 MB, free: 8.578 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006258/0.0006258, allocations: 24 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07264/0.07328, allocations: 50.39 MB / 395.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.001585/0.0749, allocations: 1.286 MB / 396.8 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006629/0.07557, allocations: 499.7 kB / 397.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.07565, allocations: 4 kB / 397.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.07569, allocations: 3.938 kB / 397.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.0758, allocations: 7.938 kB / 397.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.07603, allocations: 39.89 kB / 397.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.835e-05/0.07611, allocations: 39.86 kB / 397.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.07621, allocations: 15.98 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.07626, allocations: 11.92 kB / 397.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.07632, allocations: 27.86 kB / 397.5 MB, free: 488 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.07634, allocations: 3.938 kB / 397.5 MB, free: 484 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-06/0.07636, allocations: 4 kB / 397.5 MB, free: 480 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.0764, allocations: 15.92 kB / 397.5 MB, free: 464 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.07645, allocations: 45.56 kB / 397.5 MB, free: 412 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.058e-05/0.07653, allocations: 43.77 kB / 397.6 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.07654, allocations: 3.984 kB / 397.6 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.07654, allocations: 0 / 397.6 MB, free: 364 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.07655, allocations: 0 / 397.6 MB, free: 364 kB / 286.1 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.0003601/0.07692, allocations: 371.5 kB / 398 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.07696, allocations: 8.031 kB / 398 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.07699, allocations: 8.844 kB / 398 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.07714, allocations: 192.1 kB / 398.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.07715, allocations: 4.375 kB / 398.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.07717, allocations: 4.375 kB / 398.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.0774, allocations: 129.3 kB / 398.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-06/0.07741, allocations: 0 / 398.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.07742, allocations: 0 / 398.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.07743, allocations: 4 kB / 398.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.07751, allocations: 27.92 kB / 398.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.07777, allocations: 269.7 kB / 398.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.07793, allocations: 130.3 kB / 398.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.07801, allocations: 41.77 kB / 398.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.07803, allocations: 0 / 398.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.07806, allocations: 38.44 kB / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.07806, allocations: 0 / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002195/0.07829, allocations: 93.48 kB / 398.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.07834, allocations: 85.23 kB / 399 MB, free: 14.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.07844, allocations: 137 kB / 399.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.07846, allocations: 25.7 kB / 399.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.0785, allocations: 88.14 kB / 399.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.07852, allocations: 7.891 kB / 399.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.07854, allocations: 9.719 kB / 399.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.07864, allocations: 322.8 kB / 399.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.129e-05/0.07868, allocations: 15.98 kB / 399.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.62e-05/0.07874, allocations: 35.42 kB / 399.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.069e-05/0.07883, allocations: 51.36 kB / 399.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.07885, allocations: 4 kB / 399.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.07898, allocations: 69.56 kB / 399.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.079, allocations: 8 kB / 399.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.079, allocations: 0 / 399.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.07902, allocations: 4.125 kB / 399.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.285e-05/0.07907, allocations: 11.98 kB / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.07909, allocations: 4 kB / 399.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.07913, allocations: 4 kB / 399.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.07914, allocations: 0 / 399.7 MB, free: 13.9 MB / 302.1 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 7.141e-05/0.07922, allocations: 121.8 kB / 399.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.07929, allocations: 49.55 kB / 399.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.07932, allocations: 16.23 kB / 399.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.07933, allocations: 4 kB / 399.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.07934, allocations: 4 kB / 399.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.07935, allocations: 0 / 399.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.07949, allocations: 169.6 kB / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.0795, allocations: 0 / 400.1 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.07956, allocations: 11.98 kB / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.07957, allocations: 4 kB / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.07958, allocations: 0 / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.07958, allocations: 0 / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.07959, allocations: 0 / 400.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.07976, allocations: 180.2 kB / 400.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.07982, allocations: 100.9 kB / 400.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.07984, allocations: 7.938 kB / 400.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.07991, allocations: 0 / 400.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.07993, allocations: 11.98 kB / 400.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.07994, allocations: 0 / 400.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.879e-05/0.08002, allocations: 103.3 kB / 400.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.08003, allocations: 0 / 400.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.08027, allocations: 11.94 kB / 400.5 MB, free: 13.02 MB / 302.1 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 9.034e-05/0.08037, allocations: 99.23 kB / 400.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.08051, allocations: 36.11 kB / 400.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.08052, allocations: 0 / 400.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.591e-05/0.08056, allocations: 8 kB / 400.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.08086, allocations: 31.95 kB / 400.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.08113, allocations: 201.7 kB / 400.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.08135, allocations: 0.6887 MB / 401.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.446e-05/0.08138, allocations: 7.984 kB / 401.6 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.08141, allocations: 7.438 kB / 401.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.08141, allocations: 0 / 401.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Templates: time 0.001873/0.08329, allocations: 485.9 kB / 402.1 MB, free: 11.41 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/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