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.001818/0.001818, allocations: 114.9 kB / 17.74 MB, free: 5.293 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.00196/0.00196, allocations: 188.4 kB / 18.67 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.335, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003297/0.3384, allocations: 1.497 MB / 402.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.3394, allocations: 426.8 kB / 403.3 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.892e-05/0.3395, allocations: 4 kB / 403.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.3395, allocations: 3.938 kB / 403.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.3396, allocations: 7.922 kB / 403.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.34, allocations: 35.17 kB / 403.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3401, allocations: 43.84 kB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3402, allocations: 7.984 kB / 403.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.3403, allocations: 23.86 kB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.3404, allocations: 11.94 kB / 403.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3404, allocations: 4 kB / 403.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.3404, allocations: 0 / 403.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.3405, allocations: 11.98 kB / 403.5 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.3405, allocations: 19.86 kB / 403.5 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.3407, allocations: 43.83 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3407, allocations: 0 / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3407, allocations: 0 / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3407, allocations: 0 / 403.5 MB, free: 6.742 MB / 318.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.000602/0.3413, allocations: 348.5 kB / 403.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.3414, allocations: 8.031 kB / 403.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.3414, allocations: 12.78 kB / 403.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3417, allocations: 180.2 kB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3417, allocations: 4.375 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.3417, allocations: 8.375 kB / 404.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.3421, allocations: 111.6 kB / 404.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3421, allocations: 0 / 404.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3421, allocations: 4 kB / 404.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3422, allocations: 0 / 404.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.689e-05/0.3422, allocations: 23.98 kB / 404.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.3424, allocations: 165.5 kB / 404.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3426, allocations: 54.55 kB / 404.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.3427, allocations: 28.88 kB / 404.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3427, allocations: 4.031 kB / 404.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3428, allocations: 42.5 kB / 404.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3428, allocations: 0 / 404.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002381/0.343, allocations: 77.52 kB / 404.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3431, allocations: 55.41 kB / 404.6 MB, free: 5.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3432, allocations: 109.8 kB / 404.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3432, allocations: 25.7 kB / 404.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.3433, allocations: 88.14 kB / 404.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.3433, allocations: 3.984 kB / 404.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.3433, allocations: 17.72 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3434, allocations: 314.8 kB / 405.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.3434, allocations: 0 / 405.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.3435, allocations: 35.42 kB / 405.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.424e-05/0.3435, allocations: 39.38 kB / 405.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3435, allocations: 0 / 405.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.455e-05/0.3436, allocations: 57.56 kB / 405.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.3437, allocations: 12.25 kB / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3437, allocations: 4 kB / 405.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3437, allocations: 4.125 kB / 405.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.015e-05/0.3438, allocations: 4 kB / 405.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3438, allocations: 7.938 kB / 405.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.3438, allocations: 0 / 405.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3438, allocations: 4 kB / 405.4 MB, free: 4.68 MB / 318.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.662e-05/0.3439, allocations: 109.8 kB / 405.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.344, allocations: 73.45 kB / 405.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.3441, allocations: 7.906 kB / 405.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3441, allocations: 4 kB / 405.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3441, allocations: 0 / 405.5 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3441, allocations: 3.984 kB / 405.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.963e-05/0.3442, allocations: 153.7 kB / 405.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3442, allocations: 0 / 405.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.3443, allocations: 15.98 kB / 405.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3443, allocations: 3.938 kB / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3443, allocations: 0 / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3443, allocations: 0 / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3443, allocations: 0 / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.3445, allocations: 93.02 kB / 405.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.3446, allocations: 89.03 kB / 405.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3446, allocations: 0 / 405.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.582e-05/0.3446, allocations: 7.938 kB / 405.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-06/0.3446, allocations: 0 / 405.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.3446, allocations: 4.375 kB / 405.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.324e-05/0.3447, allocations: 83.27 kB / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3447, allocations: 0 / 406 MB, free: 3.934 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.3449, allocations: 12 kB / 406 MB, free: 3.922 MB / 318.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.0001234/0.345, allocations: 104 kB / 406.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.3452, allocations: 23.92 kB / 406.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3452, allocations: 4 kB / 406.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.3452, allocations: 0 / 406.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.3455, allocations: 31.06 kB / 406.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.3458, allocations: 160.7 kB / 406.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3461, allocations: 0.6922 MB / 407 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.3461, allocations: 11.72 kB / 407 MB, free: 2.84 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3461, allocations: 0 / 407 MB, free: 2.84 MB / 318.1 MB Notification: Performance of Templates: time 0.002435/0.3486, allocations: 0.586 MB / 407.6 MB, free: 2.25 MB / 318.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