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.001004/0.001004, allocations: 77.88 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001005/0.001005, allocations: 169.3 kB / 24.82 MB, free: 8.867 MB / 18.57 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.072/1.072, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 4.859e-06/4.859e-06, allocations: 3.984 kB / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/2.297e-05, allocations: 6.25 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002295/0.002318, allocations: 1.547 MB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006928/0.00301, allocations: 466.7 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.003076, allocations: 0 / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.003103, allocations: 11.92 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.00317, allocations: 11.88 kB / 275.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.003403, allocations: 27.91 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.298e-05/0.003486, allocations: 39.86 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.003559, allocations: 11.92 kB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.003683, allocations: 31.91 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.003725, allocations: 7.984 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.003738, allocations: 0 / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.62e-05/0.003774, allocations: 12 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.003789, allocations: 11.92 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.003809, allocations: 11.98 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.003909, allocations: 35.8 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003911, allocations: 0 / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.003913, allocations: 3.984 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.003916, allocations: 0 / 275.6 MB, free: 15.05 MB / 266.7 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.000327/0.004243, allocations: 376.5 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.00428, allocations: 8.031 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.004388, allocations: 12.92 kB / 276 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.004509, allocations: 120.6 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.00452, allocations: 12.38 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.004526, allocations: 384 / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.004697, allocations: 110.1 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.004704, allocations: 4.188 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.00471, allocations: 384 / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.004716, allocations: 3.938 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.004735, allocations: 4 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.626e-05/0.004831, allocations: 105.2 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/0.00489, allocations: 51.06 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.004911, allocations: 11.69 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.004928, allocations: 0 / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.00495, allocations: 41.33 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004951, allocations: 0 / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001117/0.005063, allocations: 49.73 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.005095, allocations: 55.39 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.005169, allocations: 177.8 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.005179, allocations: 29.7 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.00522, allocations: 130.9 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.005221, allocations: 4 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.005245, allocations: 15.38 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.005366, allocations: 0.4883 MB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-06/0.005368, allocations: 0 / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-06/0.005371, allocations: 0 / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.0054, allocations: 123.2 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/0.005426, allocations: 123.2 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.906e-05/0.005475, allocations: 37.66 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.005511, allocations: 127.2 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.008e-05/0.005542, allocations: 123.1 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.125e-05/0.005603, allocations: 246.4 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.458e-05/0.005637, allocations: 119.2 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.285e-05/0.0057, allocations: 246.3 kB / 278.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.005766, allocations: 123.1 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.005795, allocations: 127.1 kB / 278.8 MB, free: 11.69 MB / 266.7 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.000101/0.005896, allocations: 275.8 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.005946, allocations: 45.69 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.005971, allocations: 8 kB / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.005972, allocations: 0 / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.005974, allocations: 0 / 279.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.005978, allocations: 11.94 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.104e-05/0.006039, allocations: 101.2 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.006042, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.006101, allocations: 4 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006103, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.006109, allocations: 4 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.00611, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.006111, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.715e-05/0.006158, allocations: 76.27 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.006179, allocations: 11.94 kB / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.006187, allocations: 0 / 279.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/0.006202, allocations: 4 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-06/0.006205, allocations: 0 / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.006211, allocations: 7.938 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.876e-05/0.006249, allocations: 127.2 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006249, allocations: 0 / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.00644, allocations: 4 kB / 279.4 MB, free: 10.96 MB / 266.7 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 7.377e-05/0.006513, allocations: 95.25 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.378e-05/0.006557, allocations: 16.16 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006558, allocations: 0 / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.006559, allocations: 0 / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.006726, allocations: 20.33 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.007068, allocations: 145.2 kB / 279.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.123e-05/0.007099, allocations: 59.34 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.733e-06/0.007106, allocations: 0 / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.007172, allocations: 66.2 kB / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007172, allocations: 0 / 279.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Templates: time 0.001574/0.008746, allocations: 348.8 kB / 280.2 MB, free: 10.16 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7588901822455227]