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.001044/0.001044, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001154/0.001154, allocations: 170.2 kB / 24.91 MB, free: 9.188 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 0.99/0.99, allocations: 177.1 MB / 205.3 MB, free: 5.484 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 1.203e-06/1.203e-06, allocations: 0 / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.139e-05, allocations: 2.312 kB / 273.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002099/0.00212, allocations: 1.556 MB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005526/0.002673, allocations: 474.6 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.002723, allocations: 7.938 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.002744, allocations: 4 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.002806, allocations: 7.875 kB / 275.5 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.003009, allocations: 27.91 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.00308, allocations: 43.84 kB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.003141, allocations: 11.92 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.003245, allocations: 31.86 kB / 275.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.003286, allocations: 15.91 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.003298, allocations: 4 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.234e-05/0.00333, allocations: 8 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.003343, allocations: 7.984 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.003362, allocations: 15.94 kB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.162e-05/0.003443, allocations: 35.88 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003446, allocations: 0 / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003447, allocations: 0 / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.524e-06/0.003449, allocations: 0 / 275.7 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.0002357/0.003685, allocations: 248.8 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.003714, allocations: 12.03 kB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.003802, allocations: 12.92 kB / 276 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.00391, allocations: 121.7 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.003917, allocations: 8.375 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.003925, allocations: 4.312 kB / 276.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.004062, allocations: 100.6 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-06/0.004067, allocations: 192 / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.004073, allocations: 4.312 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.004077, allocations: 7.938 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.646e-05/0.004094, allocations: 7.984 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.009e-05/0.004144, allocations: 57.05 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.004197, allocations: 38.5 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.004215, allocations: 12.86 kB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.004225, allocations: 0 / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.004244, allocations: 38.55 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.004244, allocations: 0 / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.203e-05/0.004327, allocations: 49.86 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.00436, allocations: 51.41 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.182e-05/0.004422, allocations: 114.6 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.004429, allocations: 29.7 kB / 276.6 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.004447, allocations: 84.14 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.52e-07/0.004448, allocations: 4 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.004464, allocations: 13.72 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.391e-05/0.004538, allocations: 318.8 kB / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-06/0.00454, allocations: 0 / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-06/0.004543, allocations: 0 / 277 MB, free: 13.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.567e-05/0.004559, allocations: 79.27 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.004573, allocations: 79.28 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.407e-05/0.004627, allocations: 29.69 kB / 277.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.004648, allocations: 83.28 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.004664, allocations: 79.22 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.004695, allocations: 150.6 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.744e-05/0.004712, allocations: 87.22 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/0.004739, allocations: 150.6 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.004777, allocations: 83.2 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.004792, allocations: 83.22 kB / 277.9 MB, free: 12.68 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 5.434e-05/0.004846, allocations: 185.1 kB / 278.1 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.004877, allocations: 37.69 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.004947, allocations: 12 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.004949, allocations: 0 / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.00495, allocations: 0 / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.004952, allocations: 0 / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.915e-05/0.004991, allocations: 77.77 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.004993, allocations: 0 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.005046, allocations: 11.94 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.005049, allocations: 0 / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.005054, allocations: 3.984 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.005056, allocations: 0 / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005056, allocations: 0 / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.282e-05/0.005089, allocations: 57.08 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.538e-05/0.005105, allocations: 11.88 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-06/0.005112, allocations: 4 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.005123, allocations: 3.984 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-06/0.005125, allocations: 4 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.00513, allocations: 4 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.331e-05/0.005143, allocations: 16.86 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005143, allocations: 0 / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000102/0.005245, allocations: 4 kB / 278.3 MB, free: 12.2 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 5.977e-05/0.005305, allocations: 84.34 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.748e-05/0.005332, allocations: 4 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.005334, allocations: 0 / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.005334, allocations: 0 / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.542e-05/0.00542, allocations: 21.06 kB / 278.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.005696, allocations: 139.4 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.36e-05/0.005719, allocations: 59.34 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.811e-06/0.005725, allocations: 0 / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.005752, allocations: 51.38 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of SimCode: time 2.81e-07/0.005753, allocations: 0 / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.001412/0.007165, allocations: 352.3 kB / 279 MB, free: 11.45 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.630747645162046]