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.001979/0.001979, allocations: 111.1 kB / 20.44 MB, free: 1.191 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.002932/0.002932, allocations: 210.3 kB / 23.73 MB, free: 4.406 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.585/1.585, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001687/0.001687, allocations: 47.92 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2839, 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.003176/0.2871, allocations: 1.524 MB / 433.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.2881, allocations: 438.9 kB / 433.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.777e-05/0.2881, allocations: 0 / 433.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.842e-05/0.2882, allocations: 7.922 kB / 433.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.2882, allocations: 7.922 kB / 433.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.2885, allocations: 31.92 kB / 433.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2886, allocations: 39.84 kB / 433.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2888, allocations: 15.92 kB / 433.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2889, allocations: 23.98 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.289, allocations: 15.88 kB / 433.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.289, allocations: 4 kB / 433.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.735e-05/0.289, allocations: 4 kB / 433.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.289, allocations: 11.97 kB / 433.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.2891, allocations: 7.938 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2892, allocations: 49.95 kB / 433.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2892, allocations: 4 kB / 433.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2892, allocations: 4 kB / 433.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.2892, allocations: 0 / 433.8 MB, free: 4.555 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.0004983/0.2897, allocations: 281 kB / 434 MB, free: 4.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2898, allocations: 8.031 kB / 434 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.2899, allocations: 12.92 kB / 434 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.2902, allocations: 118.4 kB / 434.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2902, allocations: 12.3 kB / 434.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.2902, allocations: 4.375 kB / 434.2 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.2905, allocations: 115.6 kB / 434.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2905, allocations: 0 / 434.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.2905, allocations: 0 / 434.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2906, allocations: 11.97 kB / 434.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.2906, allocations: 19.98 kB / 434.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.2908, allocations: 109.3 kB / 434.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.291, allocations: 54.59 kB / 434.5 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.291, allocations: 20.89 kB / 434.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.291, allocations: 4 kB / 434.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.2911, allocations: 38.5 kB / 434.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2911, allocations: 0 / 434.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002563/0.2913, allocations: 81.53 kB / 434.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.2914, allocations: 51.41 kB / 434.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2915, allocations: 113.8 kB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.2915, allocations: 29.7 kB / 434.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.2916, allocations: 84.14 kB / 434.9 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.2916, allocations: 4 kB / 434.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.2916, allocations: 17.7 kB / 434.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2918, allocations: 318.8 kB / 435.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.2918, allocations: 0 / 435.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.2918, allocations: 35.42 kB / 435.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.2919, allocations: 39.38 kB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2919, allocations: 4 kB / 435.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.329e-05/0.292, allocations: 57.58 kB / 435.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.292, allocations: 4 kB / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.292, allocations: 3.938 kB / 435.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.292, allocations: 4 kB / 435.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/0.2921, allocations: 4 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2921, allocations: 3.984 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.2921, allocations: 4 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.2921, allocations: 4.5 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 0.0001091/0.2922, allocations: 117.8 kB / 435.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.2923, allocations: 61.67 kB / 435.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.2924, allocations: 11.94 kB / 435.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2924, allocations: 7.938 kB / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2924, allocations: 0 / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2924, allocations: 0 / 435.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.2925, allocations: 113.2 kB / 435.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2925, allocations: 0 / 435.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.2926, allocations: 11.98 kB / 435.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2926, allocations: 4 kB / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2926, allocations: 0 / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2926, allocations: 3.938 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2926, allocations: 0 / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.2927, allocations: 97.36 kB / 435.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.2928, allocations: 7.953 kB / 435.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.2928, allocations: 3.938 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.2928, allocations: 7.922 kB / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-06/0.2928, allocations: 0 / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.2928, allocations: 4 kB / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.639e-05/0.2929, allocations: 91.28 kB / 435.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2929, allocations: 0 / 435.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.2931, allocations: 7.984 kB / 435.9 MB, free: 2.105 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.000119/0.2932, allocations: 91.25 kB / 436 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.2934, allocations: 31.92 kB / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2934, allocations: 0 / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.2934, allocations: 0 / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.2936, allocations: 24.23 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.294, allocations: 138.9 kB / 436.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.307e-05/0.294, allocations: 63.34 kB / 436.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.101e-05/0.2941, allocations: 7.984 kB / 436.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.2941, allocations: 7.438 kB / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2941, allocations: 0 / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of Templates: time 0.00272/0.2968, allocations: 396 kB / 436.7 MB, free: 1.312 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.703287605196238]