Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007659/0.000766, allocations: 90.75 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000911/0.0009111, allocations: 197.5 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.128/1.128, allocations: 227.7 MB / 246.8 MB, free: 9.699 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001772/0.0001774, allocations: 11.98 kB / 307.7 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07412/0.07431, allocations: 51.52 MB / 359.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001289/0.07563, allocations: 1.219 MB / 360.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006088/0.07625, allocations: 467 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.0763, allocations: 0 / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.07632, allocations: 3.938 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.926e-05/0.07638, allocations: 7.875 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.07657, allocations: 31.97 kB / 361 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.07664, allocations: 31.86 kB / 361 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.887e-05/0.07671, allocations: 19.94 kB / 361 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.07681, allocations: 19.91 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.07686, allocations: 15.92 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.07688, allocations: 0 / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.824e-05/0.07691, allocations: 4 kB / 361.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.07693, allocations: 3.938 kB / 361.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.07697, allocations: 41.64 kB / 361.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.438e-05/0.07705, allocations: 43.8 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.07706, allocations: 0 / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.07706, allocations: 0 / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.435e-06/0.07707, allocations: 4 kB / 361.1 MB, free: 11.17 MB / 302.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.0003199/0.07739, allocations: 351.6 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.07743, allocations: 8.031 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.07755, allocations: 16.92 kB / 361.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.07769, allocations: 184.2 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.07771, allocations: 4.375 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.07772, allocations: 4.375 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.07797, allocations: 123.6 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-06/0.07799, allocations: 0 / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-06/0.078, allocations: 0 / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.07801, allocations: 4 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.07809, allocations: 27.92 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.07821, allocations: 165.7 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.07836, allocations: 66.55 kB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.07842, allocations: 24.92 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.07844, allocations: 0 / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.07847, allocations: 34.5 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.07847, allocations: 4 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001965/0.07867, allocations: 93.64 kB / 362.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.07872, allocations: 51.41 kB / 362.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.07879, allocations: 117.8 kB / 362.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.07881, allocations: 25.7 kB / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.07885, allocations: 84.12 kB / 362.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.825e-06/0.07886, allocations: 8 kB / 362.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.07888, allocations: 9.719 kB / 362.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.07897, allocations: 314.8 kB / 362.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.07898, allocations: 12 kB / 362.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.07901, allocations: 27.42 kB / 362.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.07905, allocations: 31.38 kB / 362.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.07906, allocations: 8 kB / 362.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.811e-05/0.07914, allocations: 57.56 kB / 363 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.07916, allocations: 10.75 kB / 363 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.07916, allocations: 0 / 363 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.07918, allocations: 4 kB / 363 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.688e-05/0.07922, allocations: 4 kB / 363 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.07923, allocations: 0 / 363 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.07925, allocations: 7.906 kB / 363 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-06/0.07926, allocations: 128 / 363 MB, free: 9.078 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.785e-05/0.07932, allocations: 125.8 kB / 363.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.07944, allocations: 69.56 kB / 363.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.07947, allocations: 7.906 kB / 363.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.07948, allocations: 3.984 kB / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.07949, allocations: 0 / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.07949, allocations: 0 / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.183e-05/0.07958, allocations: 157.7 kB / 363.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.07959, allocations: 4 kB / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.07964, allocations: 11.98 kB / 363.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.07965, allocations: 3.938 kB / 363.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.07967, allocations: 0 / 363.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.07967, allocations: 0 / 363.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.07968, allocations: 0 / 363.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.07981, allocations: 101 kB / 363.5 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.07987, allocations: 89.03 kB / 363.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.07988, allocations: 0 / 363.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.912e-05/0.07992, allocations: 4 kB / 363.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.07993, allocations: 0 / 363.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.07994, allocations: 4 kB / 363.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.07998, allocations: 91.58 kB / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07998, allocations: 0 / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001667/0.08016, allocations: 4 kB / 363.7 MB, free: 8.305 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.593e-05/0.08025, allocations: 103.2 kB / 363.8 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.013e-05/0.08034, allocations: 35.86 kB / 363.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.08035, allocations: 0 / 363.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.08036, allocations: 0 / 363.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.08055, allocations: 30.59 kB / 363.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.08076, allocations: 148.8 kB / 364 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.08096, allocations: 0.6887 MB / 364.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.506e-06/0.08097, allocations: 0 / 364.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.08099, allocations: 7.438 kB / 364.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.081, allocations: 3.938 kB / 364.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of Templates: time 0.001682/0.08268, allocations: 341.3 kB / 365 MB, free: 6.902 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches