Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.00129/0.00129, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.000912/0.000912, allocations: 143 kB / 24.89 MB, free: 8.789 MB / 18.57 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.9756/0.9756, allocations: 173.4 MB / 201.5 MB, free: 8.742 MB / 186.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 268.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.549e-05, allocations: 5.969 kB / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001725/0.001741, allocations: 1.612 MB / 270.1 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005355/0.002276, allocations: 462.5 kB / 270.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.002333, allocations: 3.938 kB / 270.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.002368, allocations: 3.984 kB / 270.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.989e-05/0.002468, allocations: 15.88 kB / 270.6 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.00262, allocations: 43.77 kB / 270.6 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.816e-05/0.002688, allocations: 35.86 kB / 270.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.002748, allocations: 11.98 kB / 270.7 MB, free: 3.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.002809, allocations: 27.91 kB / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.5e-05/0.002844, allocations: 11.98 kB / 270.7 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.002858, allocations: 0 / 270.7 MB, free: 3.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-06/0.002866, allocations: 4 kB / 270.7 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.002897, allocations: 7.938 kB / 270.7 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.748e-05/0.002914, allocations: 19.92 kB / 270.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.395e-05/0.002998, allocations: 39.83 kB / 270.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-06/0.002999, allocations: 0 / 270.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003, allocations: 0 / 270.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.003003, allocations: 0 / 270.8 MB, free: 3.719 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002468/0.00325, allocations: 268.7 kB / 271 MB, free: 3.434 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.003279, allocations: 8.922 kB / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.003302, allocations: 12.86 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.003422, allocations: 129.7 kB / 271.2 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-06/0.003429, allocations: 384 / 271.2 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.003438, allocations: 12.38 kB / 271.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.003552, allocations: 94.3 kB / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-06/0.003557, allocations: 192 / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.003562, allocations: 384 / 271.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.003566, allocations: 3.938 kB / 271.3 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.304e-05/0.003579, allocations: 4 kB / 271.3 MB, free: 3.129 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.0037, allocations: 149.1 kB / 271.4 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.491e-05/0.003735, allocations: 41.19 kB / 271.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.003749, allocations: 17.7 kB / 271.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.00376, allocations: 8 kB / 271.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.003776, allocations: 34.55 kB / 271.5 MB, free: 2.832 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.62e-07/0.003776, allocations: 0 / 271.5 MB, free: 2.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 7.895e-05/0.003855, allocations: 45.58 kB / 271.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.003887, allocations: 81.09 kB / 271.7 MB, free: 2.684 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.003955, allocations: 141.6 kB / 271.8 MB, free: 2.535 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.003965, allocations: 25.7 kB / 271.8 MB, free: 2.504 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.003989, allocations: 88.33 kB / 271.9 MB, free: 2.414 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.218e-06/0.003999, allocations: 7.953 kB / 271.9 MB, free: 2.406 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.004018, allocations: 9.719 kB / 271.9 MB, free: 2.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.004081, allocations: 322.8 kB / 272.2 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-06/0.004086, allocations: 0 / 272.2 MB, free: 2.066 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-06/0.00409, allocations: 0 / 272.2 MB, free: 2.066 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.625e-05/0.004106, allocations: 8.859 kB / 272.2 MB, free: 2.055 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.004107, allocations: 3.938 kB / 272.2 MB, free: 2.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.256e-05/0.00414, allocations: 41.69 kB / 272.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.004148, allocations: 4 kB / 272.3 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.00415, allocations: 4.094 kB / 272.3 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.004159, allocations: 3.938 kB / 272.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.278e-05/0.004192, allocations: 8 kB / 272.3 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.004194, allocations: 0 / 272.3 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.19e-05/0.004206, allocations: 0 / 272.3 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.004209, allocations: 0 / 272.3 MB, free: 1.984 MB / 250.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 (1): * Single equations (assignments): 1 * 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 4.303e-05/0.004252, allocations: 112.7 kB / 272.4 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.004277, allocations: 37.62 kB / 272.5 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.004295, allocations: 7.812 kB / 272.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.004297, allocations: 3.938 kB / 272.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.004298, allocations: 4.031 kB / 272.5 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.004301, allocations: 3.984 kB / 272.5 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.004402, allocations: 73.89 kB / 272.5 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.004403, allocations: 0 / 272.5 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.004419, allocations: 7.984 kB / 272.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.00442, allocations: 0 / 272.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-06/0.004423, allocations: 7.938 kB / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004423, allocations: 0 / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004424, allocations: 0 / 272.6 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.271e-05/0.004477, allocations: 140.3 kB / 272.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.004497, allocations: 15.98 kB / 272.7 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-06/0.004504, allocations: 0 / 272.7 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.938e-05/0.004533, allocations: 3.984 kB / 272.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.00455, allocations: 7.938 kB / 272.7 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.004552, allocations: 4 kB / 272.7 MB, free: 1.508 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.902e-05/0.004571, allocations: 27.64 kB / 272.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004571, allocations: 0 / 272.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001068/0.004678, allocations: 4 kB / 272.8 MB, free: 1.477 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.193e-05/0.00473, allocations: 76.42 kB / 272.8 MB, free: 1.395 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.936e-05/0.004769, allocations: 16.84 kB / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.004771, allocations: 0 / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.00478, allocations: 12.8 kB / 272.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.004922, allocations: 12.31 kB / 272.9 MB, free: 1.344 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.005201, allocations: 159.7 kB / 273 MB, free: 1.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.963e-05/0.00523, allocations: 63.34 kB / 273.1 MB, free: 1.078 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.481e-05/0.005245, allocations: 4.219 kB / 273.1 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.005283, allocations: 55.36 kB / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of SimCode: time 3.7e-07/0.005283, allocations: 0 / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of Templates: time 0.001668/0.006951, allocations: 0.5398 MB / 273.7 MB, free: 496 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.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.4038452869281173]