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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.497e-05, allocations: 2.281 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002475/0.0025, allocations: 1.481 MB / 320.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006579/0.003158, allocations: 409 kB / 320.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.003226, allocations: 3.938 kB / 320.8 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.00325, allocations: 6.406 kB / 320.8 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.003315, allocations: 9.328 kB / 320.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.003564, allocations: 33.98 kB / 320.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.183e-05/0.003646, allocations: 37.31 kB / 320.9 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.003733, allocations: 15.58 kB / 320.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.003827, allocations: 16.41 kB / 320.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.00388, allocations: 16.58 kB / 321 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.003899, allocations: 2.406 kB / 321 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.00391, allocations: 2.469 kB / 321 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.003928, allocations: 7.656 kB / 321 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.003962, allocations: 17.94 kB / 321 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.004063, allocations: 32.5 kB / 321 MB, free: 2.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.004065, allocations: 0 / 321 MB, free: 2.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004066, allocations: 5.094 kB / 321 MB, free: 2.152 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.00407, allocations: 3.938 kB / 321 MB, free: 2.148 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.0003488/0.004419, allocations: 272.2 kB / 321.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.004456, allocations: 11.17 kB / 321.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.004493, allocations: 7.172 kB / 321.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.004667, allocations: 124.6 kB / 321.4 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.00468, allocations: 9.844 kB / 321.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.004691, allocations: 3.75 kB / 321.4 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.004995, allocations: 108.8 kB / 321.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.005006, allocations: 5.406 kB / 321.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.005015, allocations: 4.312 kB / 321.6 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.005021, allocations: 5.25 kB / 321.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.005103, allocations: 20 kB / 321.6 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.627e-05/0.00519, allocations: 112.5 kB / 321.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.005337, allocations: 54.77 kB / 321.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.005395, allocations: 22.17 kB / 321.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.005415, allocations: 1.156 kB / 321.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.005434, allocations: 36.66 kB / 321.8 MB, free: 1.426 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.005435, allocations: 3.938 kB / 321.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002372/0.005672, allocations: 73.78 kB / 321.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.00571, allocations: 61.75 kB / 321.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.005789, allocations: 113.5 kB / 322.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.005797, allocations: 25.7 kB / 322.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.005818, allocations: 86.83 kB / 322.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.00582, allocations: 1.156 kB / 322.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.00584, allocations: 15.16 kB / 322.2 MB, free: 1.066 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.005879, allocations: 313.6 kB / 322.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.005883, allocations: 0 / 322.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.005888, allocations: 5.125 kB / 322.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.196e-05/0.0059, allocations: 76.22 kB / 322.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.005909, allocations: 76.41 kB / 322.6 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.939e-05/0.005958, allocations: 33.41 kB / 322.7 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.005979, allocations: 83.78 kB / 322.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.005992, allocations: 80.91 kB / 322.8 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.006024, allocations: 160.7 kB / 323 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-06/0.006034, allocations: 76.81 kB / 323.1 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.006056, allocations: 169.3 kB / 323.2 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.006165, allocations: 79.92 kB / 323.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.006201, allocations: 77.45 kB / 323.4 MB, free: 15.87 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.0001198/0.006321, allocations: 188.6 kB / 323.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.006458, allocations: 67.28 kB / 323.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.006493, allocations: 10.27 kB / 323.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006495, allocations: 1.406 kB / 323.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.006502, allocations: 3.938 kB / 323.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006505, allocations: 0.9844 kB / 323.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.968e-05/0.006595, allocations: 109.4 kB / 323.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.006598, allocations: 1.062 kB / 323.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.00669, allocations: 9.234 kB / 323.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.006694, allocations: 0 / 323.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.006703, allocations: 0.5625 kB / 323.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.006705, allocations: 1.375 kB / 323.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.006707, allocations: 4.797 kB / 323.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.006882, allocations: 91.02 kB / 323.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.006911, allocations: 11.92 kB / 323.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.006926, allocations: 1.609 kB / 323.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.006962, allocations: 3.547 kB / 323.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-06/0.006964, allocations: 0 / 323.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.006976, allocations: 5.938 kB / 323.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.007036, allocations: 92.89 kB / 324 MB, free: 15.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007036, allocations: 0 / 324 MB, free: 15.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.007257, allocations: 3.969 kB / 324 MB, free: 15.3 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 0.0001171/0.007374, allocations: 106.2 kB / 324.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.792e-05/0.007472, allocations: 15.69 kB / 324.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007474, allocations: 1.406 kB / 324.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.007474, allocations: 0 / 324.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.007723, allocations: 23.81 kB / 324.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.00804, allocations: 131.7 kB / 324.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.416e-05/0.008114, allocations: 69.62 kB / 324.3 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.313e-05/0.008127, allocations: 5.219 kB / 324.3 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.00816, allocations: 9.625 kB / 324.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.008161, allocations: 1.281 kB / 324.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of Templates: time 0.002888/0.01105, allocations: 322.6 kB / 324.6 MB, free: 14.93 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.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.337912455201149]