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.0008532/0.0008532, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003318/0.003318, allocations: 162.5 kB / 24.7 MB, free: 8.879 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.897/0.897, allocations: 177.1 MB / 205 MB, free: 5.742 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.553e-06/1.553e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.678e-05, allocations: 8.531 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001991/0.002028, allocations: 1.516 MB / 327.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.002648, allocations: 454.7 kB / 327.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.002714, allocations: 0 / 327.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.002743, allocations: 11.92 kB / 327.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.002808, allocations: 11.86 kB / 327.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.003088, allocations: 27.91 kB / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.003182, allocations: 39.86 kB / 327.9 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.751e-05/0.003279, allocations: 15.92 kB / 327.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.00341, allocations: 27.92 kB / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.00346, allocations: 11.97 kB / 327.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.003478, allocations: 11.94 kB / 328 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.774e-05/0.003515, allocations: 4 kB / 328 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.003529, allocations: 4 kB / 328 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.00356, allocations: 11.98 kB / 328 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.003681, allocations: 43.81 kB / 328 MB, free: 13.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003684, allocations: 0 / 328 MB, free: 13.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.003685, allocations: 4 kB / 328 MB, free: 13.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.00369, allocations: 0 / 328 MB, free: 13.24 MB / 298.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.0003824/0.004072, allocations: 277.1 kB / 328.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.004113, allocations: 12.02 kB / 328.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.004231, allocations: 12.94 kB / 328.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.004404, allocations: 125.7 kB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.004414, allocations: 384 / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.004424, allocations: 8.375 kB / 328.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.004671, allocations: 107.8 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.004677, allocations: 192 / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.004687, allocations: 8.375 kB / 328.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.004693, allocations: 7.875 kB / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.00475, allocations: 23.92 kB / 328.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.286e-05/0.004843, allocations: 105.3 kB / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.004945, allocations: 58.48 kB / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.004985, allocations: 24.92 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.005002, allocations: 0 / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.005021, allocations: 34.56 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.005021, allocations: 4 kB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001763/0.005198, allocations: 85.73 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.005242, allocations: 59.33 kB / 329 MB, free: 12.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.005305, allocations: 109.8 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.005316, allocations: 25.7 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.005348, allocations: 84.14 kB / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-06/0.00535, allocations: 0 / 329.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.005368, allocations: 13.72 kB / 329.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003704/0.005739, allocations: 314.8 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/0.005743, allocations: 0 / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.005748, allocations: 4 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.005768, allocations: 79.28 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.005786, allocations: 79.27 kB / 329.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.098e-05/0.005827, allocations: 29.64 kB / 329.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.005856, allocations: 83.28 kB / 329.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.005878, allocations: 75.28 kB / 329.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/0.00592, allocations: 158.6 kB / 330 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.925e-05/0.005939, allocations: 79.28 kB / 330.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/0.005971, allocations: 158.5 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.006013, allocations: 79.22 kB / 330.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.006031, allocations: 87.27 kB / 330.4 MB, free: 10.7 MB / 298.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 6.867e-05/0.0061, allocations: 181.1 kB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.896e-05/0.006189, allocations: 65.58 kB / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.00622, allocations: 15.98 kB / 330.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006222, allocations: 0 / 330.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.006227, allocations: 4.312 kB / 330.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.00623, allocations: 0 / 330.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.799e-05/0.006278, allocations: 109.3 kB / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.006282, allocations: 0 / 330.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.006352, allocations: 11.94 kB / 330.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.006356, allocations: 4 kB / 330.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.006361, allocations: 3.938 kB / 330.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.006364, allocations: 0 / 330.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006365, allocations: 0 / 330.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.723e-05/0.006452, allocations: 96.94 kB / 330.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.006474, allocations: 11.92 kB / 330.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.006485, allocations: 0 / 330.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.006498, allocations: 4 kB / 330.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-06/0.0065, allocations: 0 / 330.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.006505, allocations: 0 / 330.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.261e-05/0.006537, allocations: 99.2 kB / 331 MB, free: 10.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006537, allocations: 0 / 331 MB, free: 10.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001368/0.006674, allocations: 8 kB / 331 MB, free: 10.02 MB / 298.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 9.517e-05/0.006769, allocations: 91.25 kB / 331.1 MB, free: 9.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.344e-05/0.006833, allocations: 15.98 kB / 331.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.006835, allocations: 0 / 331.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.006835, allocations: 0 / 331.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.007024, allocations: 27.92 kB / 331.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.007265, allocations: 158.6 kB / 331.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.007306, allocations: 71.33 kB / 331.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.007329, allocations: 8.5 kB / 331.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.00733, allocations: 0 / 331.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of Templates: time 0.001412/0.008742, allocations: 0.559 MB / 331.9 MB, free: 9.043 MB / 298.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=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.08095133677125]