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.0007498/0.0007498, allocations: 92.62 kB / 17.31 MB, free: 6.539 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.0008021/0.0008021, allocations: 176.6 kB / 18.21 MB, free: 5.68 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.28/1.28, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002338/0.0002337, allocations: 19.92 kB / 302.1 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07502/0.07527, allocations: 50.41 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001457/0.07676, allocations: 1.205 MB / 353.7 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006073/0.07738, allocations: 431.7 kB / 354.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.07745, allocations: 0 / 354.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.07747, allocations: 0 / 354.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.07754, allocations: 7.938 kB / 354.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.07777, allocations: 31.91 kB / 354.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.235e-05/0.07785, allocations: 35.86 kB / 354.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.07794, allocations: 8 kB / 354.2 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.07802, allocations: 27.8 kB / 354.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/0.07807, allocations: 11.92 kB / 354.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.07809, allocations: 0 / 354.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.07811, allocations: 0 / 354.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.07813, allocations: 7.984 kB / 354.2 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.07818, allocations: 45.58 kB / 354.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.675e-05/0.07824, allocations: 19.95 kB / 354.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.07825, allocations: 4 kB / 354.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.07826, allocations: 0 / 354.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.07826, allocations: 0 / 354.3 MB, free: 1.852 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.0003506/0.07862, allocations: 343.6 kB / 354.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.07866, allocations: 8.031 kB / 354.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.07869, allocations: 8.922 kB / 354.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.07885, allocations: 184.2 kB / 354.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.07887, allocations: 12.36 kB / 354.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.07889, allocations: 384 / 354.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.0792, allocations: 131.5 kB / 355 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.07922, allocations: 0 / 355 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.07923, allocations: 0 / 355 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.07924, allocations: 0 / 355 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.07934, allocations: 23.98 kB / 355 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.07946, allocations: 157.6 kB / 355.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.07963, allocations: 74.48 kB / 355.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.07971, allocations: 24.92 kB / 355.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.07973, allocations: 0 / 355.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.07976, allocations: 38.5 kB / 355.3 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.07977, allocations: 0 / 355.3 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002281/0.08, allocations: 85.56 kB / 355.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.08005, allocations: 55.41 kB / 355.4 MB, free: 0.543 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/0.08013, allocations: 117.7 kB / 355.6 MB, free: 428 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.08015, allocations: 25.7 kB / 355.6 MB, free: 396 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.08019, allocations: 88.14 kB / 355.7 MB, free: 304 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.0802, allocations: 0 / 355.7 MB, free: 304 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.08023, allocations: 17.72 kB / 355.7 MB, free: 280 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.08033, allocations: 314.8 kB / 356 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.08034, allocations: 4 kB / 356 MB, free: 15.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.08038, allocations: 27.44 kB / 356 MB, free: 15.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.247e-05/0.08042, allocations: 47.36 kB / 356.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.08043, allocations: 0 / 356.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.689e-05/0.08051, allocations: 49.64 kB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.08053, allocations: 7.938 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.08055, allocations: 3.984 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.08056, allocations: 4 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.08061, allocations: 4 kB / 356.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.08063, allocations: 8.062 kB / 356.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.08065, allocations: 4 kB / 356.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.08066, allocations: 0 / 356.1 MB, free: 15.77 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 5.861e-05/0.08073, allocations: 113.8 kB / 356.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.08086, allocations: 73.52 kB / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.0809, allocations: 3.906 kB / 356.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.08091, allocations: 4.328 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.08092, allocations: 4 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.08092, allocations: 0 / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.432e-05/0.08101, allocations: 161.6 kB / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.08102, allocations: 4 kB / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.08109, allocations: 8 kB / 356.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.0811, allocations: 15.8 kB / 356.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.08111, allocations: 4 kB / 356.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.08112, allocations: 0 / 356.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.08113, allocations: 4 kB / 356.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.08128, allocations: 93.02 kB / 356.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.08133, allocations: 81.05 kB / 356.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.08136, allocations: 4 kB / 356.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.0814, allocations: 3.984 kB / 356.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-06/0.08141, allocations: 0 / 356.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.08142, allocations: 8 kB / 356.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.08147, allocations: 87.59 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08148, allocations: 4 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.08168, allocations: 8 kB / 356.8 MB, free: 14.99 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 8.009e-05/0.08176, allocations: 103.2 kB / 356.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.08187, allocations: 27.92 kB / 356.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.08188, allocations: 0 / 356.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.08189, allocations: 0 / 356.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.08211, allocations: 35.38 kB / 357 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.08237, allocations: 174.3 kB / 357.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.08256, allocations: 0.6809 MB / 357.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.08259, allocations: 11.44 kB / 357.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.0826, allocations: 0 / 357.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of Templates: time 0.001694/0.0843, allocations: 0.5731 MB / 358.4 MB, free: 13.33 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