Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 180.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.000887, allocations: 92.56 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002725, allocations: 4 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2849, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.399, allocations: 76.67 MB / 478.2 MB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.3992, allocations: 85.12 kB / 478.2 MB, free: 3.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003083/0.4023, allocations: 1.016 MB / 479.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.4024, allocations: 3.625 kB / 479.3 MB, free: 2.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4024, allocations: 3.938 kB / 479.3 MB, free: 2.727 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004642/0.4029, allocations: 347.2 kB / 479.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.4029, allocations: 8.031 kB / 479.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.403, allocations: 11.86 kB / 479.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.4032, allocations: 171.1 kB / 479.8 MB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.4033, allocations: 4 kB / 479.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.4033, allocations: 7.938 kB / 479.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.4037, allocations: 115.3 kB / 479.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4037, allocations: 7.938 kB / 479.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4037, allocations: 0 / 479.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4038, allocations: 4 kB / 479.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.4039, allocations: 27.94 kB / 480 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.4041, allocations: 169.5 kB / 480.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.4043, allocations: 62.55 kB / 480.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.037e-05/0.4044, allocations: 4.031 kB / 480.2 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.4044, allocations: 30.56 kB / 480.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.256e-06/0.4044, allocations: 0 / 480.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002825/0.4047, allocations: 81.75 kB / 480.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.4048, allocations: 59.39 kB / 480.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.4048, allocations: 101 kB / 480.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.4049, allocations: 25.7 kB / 480.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.4049, allocations: 88.12 kB / 480.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-06/0.4049, allocations: 0 / 480.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.4049, allocations: 4 kB / 480.6 MB, free: 1.223 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4051, allocations: 318.8 kB / 480.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.4051, allocations: 3.938 kB / 480.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.4051, allocations: 43.53 kB / 480.9 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.784e-05/0.4051, allocations: 4 kB / 480.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4051, allocations: 4 kB / 480.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.992e-05/0.4052, allocations: 57.53 kB / 481 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4053, allocations: 4 kB / 481 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4053, allocations: 4.125 kB / 481 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4053, allocations: 4 kB / 481 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.4054, allocations: 4 kB / 481 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4054, allocations: 3.938 kB / 481 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.4054, allocations: 4 kB / 481 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.4054, allocations: 4 kB / 481 MB, free: 0.7461 MB / 346.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 7.982e-05/0.4055, allocations: 113.8 kB / 481.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.4056, allocations: 70.05 kB / 481.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.4057, allocations: 7.906 kB / 481.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4057, allocations: 0 / 481.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.4057, allocations: 0 / 481.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4057, allocations: 3.938 kB / 481.2 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.4058, allocations: 165.6 kB / 481.4 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4058, allocations: 0 / 481.4 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.4059, allocations: 15.92 kB / 481.4 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4059, allocations: 0 / 481.4 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4059, allocations: 0 / 481.4 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4059, allocations: 4 kB / 481.4 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4059, allocations: 0 / 481.4 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.4061, allocations: 96.97 kB / 481.5 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.4062, allocations: 81.11 kB / 481.6 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.4062, allocations: 3.984 kB / 481.6 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.43e-05/0.4062, allocations: 4 kB / 481.6 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-06/0.4062, allocations: 4 kB / 481.6 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.4063, allocations: 0 / 481.6 MB, free: 80 kB / 346.7 MB Notification: Performance of sorting global known variables: time 5.931e-05/0.4063, allocations: 91.27 kB / 481.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4063, allocations: 0 / 481.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.4065, allocations: 4 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 0.0001286/0.4067, allocations: 99.19 kB / 481.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.4068, allocations: 32.05 kB / 481.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4068, allocations: 3.938 kB / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.4068, allocations: 0 / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.407, allocations: 34.8 kB / 481.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.4073, allocations: 136.9 kB / 482 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4075, allocations: 0.6967 MB / 482.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.489e-05/0.4076, allocations: 4 kB / 482.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.4076, allocations: 11.44 kB / 482.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4076, allocations: 0 / 482.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Templates: time 0.002173/0.4098, allocations: 323.6 kB / 483 MB, free: 14.61 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches