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.0007263/0.0007263, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001802, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006252/0.0006252, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009183/0.001543, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8192/0.8192, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1532/0.9723, allocations: 52.49 MB / 238.5 MB, free: 7.641 MB / 234.7 MB " [Timeout remaining time 179] 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.282e-06/1.282e-06, allocations: 0 / 239.8 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.715e-05, allocations: 3.531 kB / 239.8 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001766/0.001783, allocations: 1.594 MB / 241.3 MB, free: 4.781 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004356/0.002218, allocations: 428.2 kB / 241.8 MB, free: 4.359 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.002264, allocations: 3.938 kB / 241.8 MB, free: 4.355 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.002285, allocations: 3.938 kB / 241.8 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.071e-05/0.002316, allocations: 4 kB / 241.8 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.002446, allocations: 28.66 kB / 241.8 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.231e-05/0.002528, allocations: 39.86 kB / 241.8 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.375e-05/0.002592, allocations: 9.078 kB / 241.9 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.002678, allocations: 39.78 kB / 241.9 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.002721, allocations: 15.11 kB / 241.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.002739, allocations: 4 kB / 241.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.002746, allocations: 0 / 241.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.002768, allocations: 7.938 kB / 241.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.002787, allocations: 8 kB / 241.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.67e-05/0.002863, allocations: 23.91 kB / 241.9 MB, free: 4.18 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.00287, allocations: 0 / 241.9 MB, free: 4.18 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.002871, allocations: 0 / 241.9 MB, free: 4.18 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.002882, allocations: 0 / 241.9 MB, free: 4.18 MB / 234.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.000291/0.003173, allocations: 261.8 kB / 242.2 MB, free: 3.902 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.003199, allocations: 8.031 kB / 242.2 MB, free: 3.895 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.003223, allocations: 4.938 kB / 242.2 MB, free: 3.891 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.003342, allocations: 126.7 kB / 242.3 MB, free: 3.742 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.00335, allocations: 4.375 kB / 242.3 MB, free: 3.738 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.003361, allocations: 7.375 kB / 242.4 MB, free: 3.734 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.003505, allocations: 92.58 kB / 242.4 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.003511, allocations: 192 / 242.4 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.003516, allocations: 384 / 242.4 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.003523, allocations: 7.938 kB / 242.5 MB, free: 3.621 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.668e-05/0.00354, allocations: 8.859 kB / 242.5 MB, free: 3.613 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.399e-05/0.003594, allocations: 60.98 kB / 242.5 MB, free: 3.539 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/0.003646, allocations: 43.39 kB / 242.6 MB, free: 3.488 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.003662, allocations: 8.859 kB / 242.6 MB, free: 3.477 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.003676, allocations: 4 kB / 242.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.003694, allocations: 31.47 kB / 242.6 MB, free: 3.434 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.003695, allocations: 0 / 242.6 MB, free: 3.434 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 8.823e-05/0.003783, allocations: 47.45 kB / 242.7 MB, free: 3.383 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.003817, allocations: 59.41 kB / 242.7 MB, free: 3.312 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.347e-05/0.00387, allocations: 114.6 kB / 242.8 MB, free: 3.188 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.00388, allocations: 29.7 kB / 242.9 MB, free: 3.152 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.003899, allocations: 80.14 kB / 242.9 MB, free: 3.07 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-06/0.0039, allocations: 0.6562 kB / 242.9 MB, free: 3.07 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.003918, allocations: 17.67 kB / 242.9 MB, free: 3.047 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.003981, allocations: 323.4 kB / 243.3 MB, free: 2.723 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-06/0.003984, allocations: 5.969 kB / 243.3 MB, free: 2.719 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-06/0.003986, allocations: 0 / 243.3 MB, free: 2.719 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.493e-05/0.004001, allocations: 75.28 kB / 243.3 MB, free: 2.645 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.004015, allocations: 75.28 kB / 243.4 MB, free: 2.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.983e-05/0.004045, allocations: 33.75 kB / 243.4 MB, free: 2.531 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.004069, allocations: 87.28 kB / 243.5 MB, free: 2.445 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.004089, allocations: 84.69 kB / 243.6 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.486e-05/0.004124, allocations: 150.6 kB / 243.8 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.591e-05/0.00414, allocations: 83.22 kB / 243.8 MB, free: 2.133 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/0.004166, allocations: 155.2 kB / 244 MB, free: 1.98 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.004204, allocations: 79.41 kB / 244.1 MB, free: 1.902 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.004218, allocations: 79.81 kB / 244.2 MB, free: 1.824 MB / 234.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.44e-05/0.004273, allocations: 185.7 kB / 244.3 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.004311, allocations: 45.67 kB / 244.4 MB, free: 1.578 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.00434, allocations: 9.656 kB / 244.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.004341, allocations: 0 / 244.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.004342, allocations: 0 / 244.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.004344, allocations: 0 / 244.4 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.099e-05/0.004385, allocations: 75.03 kB / 244.5 MB, free: 1.473 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.004388, allocations: 0 / 244.5 MB, free: 1.473 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/0.004458, allocations: 15.92 kB / 244.5 MB, free: 1.457 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.004482, allocations: 4 kB / 244.5 MB, free: 1.453 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.004483, allocations: 4.875 kB / 244.5 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.004488, allocations: 4 kB / 244.5 MB, free: 1.445 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004489, allocations: 1 kB / 244.5 MB, free: 1.445 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.004489, allocations: 0 / 244.5 MB, free: 1.445 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.203e-05/0.004521, allocations: 61.06 kB / 244.5 MB, free: 1.367 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-06/0.004529, allocations: 0.75 kB / 244.6 MB, free: 1.367 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.004539, allocations: 0 / 244.6 MB, free: 1.367 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-06/0.004541, allocations: 0.5 kB / 244.6 MB, free: 1.367 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.004545, allocations: 0.875 kB / 244.6 MB, free: 1.367 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.458e-05/0.00456, allocations: 17.17 kB / 244.6 MB, free: 1.348 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00456, allocations: 1.594 kB / 244.6 MB, free: 1.348 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001034/0.004663, allocations: 4 kB / 244.6 MB, free: 1.344 MB / 234.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 6.013e-05/0.004723, allocations: 88.34 kB / 244.7 MB, free: 1.25 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 3.634e-05/0.00476, allocations: 8 kB / 244.7 MB, free: 1.242 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.004762, allocations: 0 / 244.7 MB, free: 1.242 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.004763, allocations: 0 / 244.7 MB, free: 1.242 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.004869, allocations: 25.08 kB / 244.7 MB, free: 1.215 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.005424, allocations: 135.2 kB / 244.8 MB, free: 1.059 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.836e-05/0.005453, allocations: 55.36 kB / 244.9 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.786e-06/0.005462, allocations: 3.938 kB / 244.9 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.005498, allocations: 55.36 kB / 244.9 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of SimCode: time 7.81e-07/0.005499, allocations: 4 kB / 244.9 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of Templates: time 0.001543/0.007042, allocations: 348 kB / 245.3 MB, free: 0.5859 MB / 234.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3195161568000913]