Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002591/0.002591, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 43.94 kB / 378.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2639, allocations: 53.36 MB / 431.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00332/0.2672, allocations: 1.504 MB / 433.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.2682, allocations: 454.7 kB / 433.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.2683, allocations: 0 / 433.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.2683, allocations: 7.922 kB / 433.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.2684, allocations: 7.938 kB / 433.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.2687, allocations: 27.91 kB / 433.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2688, allocations: 39.86 kB / 433.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2689, allocations: 15.97 kB / 433.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.2691, allocations: 19.94 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.157e-05/0.2692, allocations: 19.86 kB / 433.7 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.2692, allocations: 4 kB / 433.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.946e-05/0.2692, allocations: 4 kB / 433.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.2692, allocations: 15.97 kB / 433.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2693, allocations: 11.94 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.2694, allocations: 45.03 kB / 433.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2694, allocations: 0 / 433.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2694, allocations: 0 / 433.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2694, allocations: 3.938 kB / 433.8 MB, free: 4.562 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.0004863/0.2699, allocations: 274.2 kB / 434 MB, free: 4.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2699, allocations: 8.031 kB / 434 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.2701, allocations: 8.938 kB / 434 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.2703, allocations: 130.4 kB / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2703, allocations: 384 / 434.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.2704, allocations: 4.375 kB / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.2707, allocations: 123.6 kB / 434.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2707, allocations: 3.938 kB / 434.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2707, allocations: 0 / 434.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2707, allocations: 0 / 434.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.2708, allocations: 23.97 kB / 434.3 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.2709, allocations: 101.3 kB / 434.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.2711, allocations: 58.55 kB / 434.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.2712, allocations: 20.92 kB / 434.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.2712, allocations: 8 kB / 434.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.2712, allocations: 34.5 kB / 434.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2712, allocations: 3.938 kB / 434.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002376/0.2715, allocations: 85.73 kB / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.2715, allocations: 55.39 kB / 434.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.2716, allocations: 109.8 kB / 434.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2716, allocations: 25.7 kB / 434.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.2717, allocations: 88.14 kB / 434.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-06/0.2717, allocations: 3.938 kB / 434.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.2717, allocations: 21.72 kB / 434.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2719, allocations: 318.8 kB / 435.2 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.2719, allocations: 4 kB / 435.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.2719, allocations: 27.38 kB / 435.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.272, allocations: 43.36 kB / 435.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.272, allocations: 0 / 435.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001101/0.2721, allocations: 57.66 kB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2721, allocations: 7.984 kB / 435.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2721, allocations: 7.938 kB / 435.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2721, allocations: 0 / 435.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.936e-05/0.2722, allocations: 4 kB / 435.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2722, allocations: 4 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.2722, allocations: 4 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2722, allocations: 8 kB / 435.4 MB, free: 2.719 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 9.093e-05/0.2723, allocations: 109.8 kB / 435.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.2724, allocations: 65.73 kB / 435.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.2725, allocations: 15.94 kB / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.2725, allocations: 0 / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2725, allocations: 0 / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2725, allocations: 0 / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.276e-05/0.2726, allocations: 109.2 kB / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2726, allocations: 0 / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.2727, allocations: 15.98 kB / 435.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2727, allocations: 0 / 435.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.2727, allocations: 384 / 435.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2727, allocations: 3.938 kB / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2727, allocations: 8 kB / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.2729, allocations: 85.05 kB / 435.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.2729, allocations: 11.89 kB / 435.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2729, allocations: 0 / 435.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.2729, allocations: 15.92 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-06/0.2729, allocations: 0 / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.2729, allocations: 0 / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.201e-05/0.273, allocations: 87.28 kB / 435.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.273, allocations: 0 / 435.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000189/0.2732, allocations: 7.938 kB / 435.9 MB, free: 2.121 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.0001237/0.2733, allocations: 103.2 kB / 436 MB, free: 2.012 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.2734, allocations: 23.92 kB / 436 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2734, allocations: 4 kB / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.2734, allocations: 0 / 436 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.2737, allocations: 20.02 kB / 436.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.274, allocations: 138.2 kB / 436.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.101e-05/0.2741, allocations: 67.59 kB / 436.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.647e-05/0.2741, allocations: 7.984 kB / 436.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.2741, allocations: 7.438 kB / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2741, allocations: 0 / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of Templates: time 0.002903/0.277, allocations: 387.4 kB / 436.7 MB, free: 1.332 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.546747898682952]