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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.001719, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00243/0.00243, allocations: 203.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3008, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003181/0.3039, allocations: 1.512 MB / 433.2 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.3049, allocations: 442.9 kB / 433.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.305, allocations: 0 / 433.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.305, allocations: 3.938 kB / 433.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.686e-05/0.3051, allocations: 7.875 kB / 433.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.3054, allocations: 35.91 kB / 433.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.3056, allocations: 39.84 kB / 433.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3057, allocations: 12 kB / 433.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.3059, allocations: 31.84 kB / 433.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.3059, allocations: 11.92 kB / 433.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3059, allocations: 7.938 kB / 433.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-05/0.306, allocations: 8 kB / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.306, allocations: 0 / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.3061, allocations: 15.88 kB / 433.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3062, allocations: 43.53 kB / 433.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3062, allocations: 0 / 433.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.498e-06/0.3062, allocations: 8 kB / 433.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3062, allocations: 0 / 433.8 MB, free: 4.344 MB / 334.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.0005237/0.3067, allocations: 272.8 kB / 434.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3068, allocations: 11.98 kB / 434.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.307, allocations: 16.92 kB / 434.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3072, allocations: 126.4 kB / 434.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3072, allocations: 384 / 434.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.3072, allocations: 8.375 kB / 434.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.3076, allocations: 123.6 kB / 434.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3076, allocations: 3.938 kB / 434.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3076, allocations: 0 / 434.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3076, allocations: 4 kB / 434.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.3077, allocations: 19.98 kB / 434.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.3078, allocations: 109.3 kB / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.308, allocations: 66.5 kB / 434.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.3081, allocations: 20.89 kB / 434.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3081, allocations: 0 / 434.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.3081, allocations: 34.56 kB / 434.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3081, allocations: 0 / 434.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002562/0.3084, allocations: 77.61 kB / 434.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.3084, allocations: 55.34 kB / 434.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3086, allocations: 113.8 kB / 434.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.3086, allocations: 26.08 kB / 434.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.3086, allocations: 88.12 kB / 435 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/0.3086, allocations: 8 kB / 435 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.3087, allocations: 9.719 kB / 435 MB, free: 3.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3089, allocations: 322.8 kB / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.3089, allocations: 0 / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.3089, allocations: 31.42 kB / 435.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.309, allocations: 35.38 kB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.309, allocations: 8 kB / 435.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.381e-05/0.309, allocations: 61.58 kB / 435.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3091, allocations: 4 kB / 435.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3091, allocations: 3.938 kB / 435.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.3091, allocations: 4 kB / 435.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.3091, allocations: 7.938 kB / 435.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.3091, allocations: 0 / 435.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.3092, allocations: 4 kB / 435.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3092, allocations: 0 / 435.4 MB, free: 2.504 MB / 334.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 8.574e-05/0.3093, allocations: 118 kB / 435.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.3094, allocations: 57.69 kB / 435.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.3094, allocations: 11.94 kB / 435.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3094, allocations: 4 kB / 435.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.3094, allocations: 7.922 kB / 435.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3094, allocations: 3.938 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.817e-05/0.3095, allocations: 109.2 kB / 435.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3095, allocations: 3.984 kB / 435.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.3096, allocations: 8 kB / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3096, allocations: 4 kB / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3096, allocations: 4 kB / 435.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3096, allocations: 3.938 kB / 435.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3096, allocations: 0 / 435.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.3098, allocations: 85.44 kB / 435.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.3098, allocations: 15.94 kB / 435.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3098, allocations: 0 / 435.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.3098, allocations: 3.938 kB / 435.9 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-06/0.3098, allocations: 4.031 kB / 435.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3098, allocations: 4 kB / 435.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.3099, allocations: 99.2 kB / 436 MB, free: 1.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3099, allocations: 288 / 436 MB, free: 1.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000188/0.3101, allocations: 4 kB / 436 MB, free: 1.891 MB / 334.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.0001254/0.3102, allocations: 91.25 kB / 436.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.3104, allocations: 27.92 kB / 436.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3104, allocations: 0 / 436.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.3104, allocations: 3.938 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.3106, allocations: 24.23 kB / 436.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.3109, allocations: 134.9 kB / 436.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.311, allocations: 71.33 kB / 436.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.288e-05/0.311, allocations: 0 / 436.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.311, allocations: 11.44 kB / 436.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.311, allocations: 0 / 436.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of Templates: time 0.002892/0.3139, allocations: 385.9 kB / 436.7 MB, free: 1.113 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.483616767451167]