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.001134/0.001134, allocations: 95.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001376/0.001376, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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.094/1.094, allocations: 177 MB / 204.8 MB, free: 5.246 MB / 186.7 MB " [Timeout remaining time 179] 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 2.124e-06/2.124e-06, allocations: 0 / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.678e-05/3.89e-05, allocations: 9.266 kB / 272.9 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003514/0.003553, allocations: 1.556 MB / 274.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.004591, allocations: 470.7 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.121e-05/0.004682, allocations: 0 / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.458e-05/0.004726, allocations: 7.922 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.004817, allocations: 11.92 kB / 275 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.005198, allocations: 35.84 kB / 275 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.005322, allocations: 39.86 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.00544, allocations: 11.92 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.00564, allocations: 27.92 kB / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.005707, allocations: 15.97 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.00573, allocations: 0 / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/0.00578, allocations: 8 kB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.0058, allocations: 3.938 kB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.005841, allocations: 11.98 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.005991, allocations: 39.78 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.005994, allocations: 0 / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.005996, allocations: 4 kB / 275.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.006002, allocations: 0 / 275.2 MB, free: 15.04 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.0005524/0.006555, allocations: 376.5 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.00661, allocations: 11.98 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.006806, allocations: 16.92 kB / 275.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.007029, allocations: 120.6 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.007046, allocations: 8.375 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.007058, allocations: 384 / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.007372, allocations: 118.2 kB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.007383, allocations: 192 / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.007394, allocations: 384 / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.007406, allocations: 3.938 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.007445, allocations: 4 kB / 275.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.007599, allocations: 124.6 kB / 275.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.007708, allocations: 50.97 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.007752, allocations: 11.72 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.007777, allocations: 12 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.007809, allocations: 37.42 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.464e-06/0.007812, allocations: 0 / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001994/0.008011, allocations: 49.69 kB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.008059, allocations: 59.34 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.008166, allocations: 169.9 kB / 276.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.008181, allocations: 29.7 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.00824, allocations: 130.9 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.008243, allocations: 0 / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.008272, allocations: 15.38 kB / 276.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.008445, allocations: 0.4923 MB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/0.008451, allocations: 4 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.008454, allocations: 0 / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.008493, allocations: 119.2 kB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-05/0.008528, allocations: 119.2 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.969e-05/0.008588, allocations: 37.59 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.008636, allocations: 123.2 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-05/0.008675, allocations: 127.1 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.927e-05/0.008754, allocations: 238.4 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.638e-05/0.008801, allocations: 127.1 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.973e-05/0.008881, allocations: 254.3 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.00896, allocations: 119.2 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.008996, allocations: 127.1 kB / 278.3 MB, free: 11.64 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.0001306/0.009126, allocations: 275.8 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.00921, allocations: 45.69 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.009243, allocations: 8 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009246, allocations: 0 / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.009251, allocations: 3.938 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.009256, allocations: 4 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.447e-05/0.00934, allocations: 116.6 kB / 278.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.009345, allocations: 4 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.009445, allocations: 7.984 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.009451, allocations: 11.94 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.009459, allocations: 0 / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.009463, allocations: 0 / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.009464, allocations: 0 / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.009583, allocations: 88.33 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.009612, allocations: 7.938 kB / 278.9 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.009628, allocations: 7.984 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.009649, allocations: 288 / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-06/0.009652, allocations: 0 / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.009663, allocations: 4 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.575e-05/0.009719, allocations: 139.4 kB / 279 MB, free: 10.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009719, allocations: 0 / 279 MB, free: 10.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.009966, allocations: 8 kB / 279 MB, free: 10.85 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 0.0001165/0.01008, allocations: 99.19 kB / 279.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.864e-05/0.01015, allocations: 7.984 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01015, allocations: 0 / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.01015, allocations: 0 / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01045, allocations: 25.08 kB / 279.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.01101, allocations: 141 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.105e-05/0.01106, allocations: 59.34 kB / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.554e-05/0.01108, allocations: 0 / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.01111, allocations: 12.5 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01112, allocations: 0 / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Templates: time 0.002654/0.01377, allocations: 334.5 kB / 279.7 MB, free: 10.12 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] 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","",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.8140944419428706]