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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001906, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.295/2.295, allocations: 222.9 MB / 241.8 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 47.23 kB / 300.6 MB, free: 6.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1875, allocations: 49.46 MB / 350.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.004752/0.1923, allocations: 1.546 MB / 351.6 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1935, allocations: 431 kB / 352 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.1936, allocations: 3.938 kB / 352 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.66e-05/0.1937, allocations: 0 / 352 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1939, allocations: 3.938 kB / 352 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.1943, allocations: 31.97 kB / 352.1 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1944, allocations: 39.8 kB / 352.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1946, allocations: 8 kB / 352.1 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1947, allocations: 23.91 kB / 352.1 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.1948, allocations: 11.92 kB / 352.2 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.1949, allocations: 4 kB / 352.2 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.962e-05/0.1949, allocations: 0 / 352.2 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.1949, allocations: 7.938 kB / 352.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.195, allocations: 23.86 kB / 352.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1952, allocations: 19.97 kB / 352.2 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1952, allocations: 0 / 352.2 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1952, allocations: 0 / 352.2 MB, free: 2.648 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1952, allocations: 0 / 352.2 MB, free: 2.648 MB / 286.1 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.0006767/0.1959, allocations: 355.6 kB / 352.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.196, allocations: 12.03 kB / 352.6 MB, free: 2.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.196, allocations: 4.844 kB / 352.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1964, allocations: 184.2 kB / 352.8 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1964, allocations: 4.359 kB / 352.8 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1964, allocations: 8.375 kB / 352.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.197, allocations: 119.5 kB / 352.9 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.197, allocations: 0 / 352.9 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.197, allocations: 0 / 352.9 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.197, allocations: 0 / 352.9 MB, free: 1.879 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1972, allocations: 31.92 kB / 352.9 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.1974, allocations: 161.6 kB / 353.1 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.1977, allocations: 54.55 kB / 353.1 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.1978, allocations: 28.92 kB / 353.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.1979, allocations: 0 / 353.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.903e-05/0.1979, allocations: 46.44 kB / 353.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1979, allocations: 0 / 353.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003804/0.1983, allocations: 65.67 kB / 353.3 MB, free: 1.422 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.1984, allocations: 59.41 kB / 353.3 MB, free: 1.352 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1986, allocations: 109.8 kB / 353.4 MB, free: 1.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1986, allocations: 25.7 kB / 353.4 MB, free: 1.203 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.1987, allocations: 88.12 kB / 353.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/0.1987, allocations: 0 / 353.5 MB, free: 1.113 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1987, allocations: 21.72 kB / 353.6 MB, free: 1.086 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1989, allocations: 314.8 kB / 353.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/0.1989, allocations: 7.938 kB / 353.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.134e-05/0.199, allocations: 31.42 kB / 353.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/0.1991, allocations: 39.38 kB / 353.9 MB, free: 0.668 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1991, allocations: 0 / 353.9 MB, free: 0.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001497/0.1992, allocations: 57.53 kB / 354 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.1993, allocations: 7.938 kB / 354 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1993, allocations: 0 / 354 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1993, allocations: 4 kB / 354 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.1994, allocations: 4.125 kB / 354 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1994, allocations: 8.375 kB / 354 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.1995, allocations: 0 / 354 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1995, allocations: 0 / 354 MB, free: 0.582 MB / 286.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 0.0001192/0.1996, allocations: 121.8 kB / 354.1 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.1998, allocations: 65.56 kB / 354.2 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.1999, allocations: 4.234 kB / 354.2 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1999, allocations: 4 kB / 354.2 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.1999, allocations: 3.984 kB / 354.2 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1999, allocations: 7.984 kB / 354.2 MB, free: 364 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.2001, allocations: 161.6 kB / 354.4 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2001, allocations: 0 / 354.4 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.103e-05/0.2002, allocations: 15.92 kB / 354.4 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2002, allocations: 3.938 kB / 354.4 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.2002, allocations: 0 / 354.4 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2002, allocations: 0 / 354.4 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2002, allocations: 0 / 354.4 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.2005, allocations: 93.05 kB / 354.5 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.2006, allocations: 88.94 kB / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.2006, allocations: 4 kB / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.2007, allocations: 4 kB / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-06/0.2007, allocations: 0 / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.2007, allocations: 4 kB / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.599e-05/0.2008, allocations: 91.27 kB / 354.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2008, allocations: 0 / 354.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000366/0.2012, allocations: 4 kB / 354.7 MB, free: 15.81 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.2014, allocations: 107.2 kB / 354.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.2016, allocations: 23.92 kB / 354.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2016, allocations: 0 / 354.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.2016, allocations: 0 / 354.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.202, allocations: 24.02 kB / 354.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.2025, allocations: 170.3 kB / 355 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.2028, allocations: 0.6887 MB / 355.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.2029, allocations: 15.44 kB / 355.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2029, allocations: 0 / 355.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of Templates: time 0.002945/0.2059, allocations: 0.5676 MB / 356.3 MB, free: 14.15 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches