Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001258/0.001258, allocations: 85.91 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001335/0.001335, allocations: 168.8 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.504/1.504, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0.7031 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.223e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003208/0.00324, allocations: 1.578 MB / 326.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004642, allocations: 0.5002 MB / 327.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.004766, allocations: 5.062 kB / 327.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.081e-05/0.004826, allocations: 10.44 kB / 327.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.005021, allocations: 11.75 kB / 327.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.005391, allocations: 58.03 kB / 327.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.005532, allocations: 37.72 kB / 327.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.005667, allocations: 9.078 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.00583, allocations: 34.33 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.005896, allocations: 14.92 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.005915, allocations: 7.25 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.167e-05/0.005956, allocations: 5.328 kB / 327.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.00601, allocations: 10.67 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.006045, allocations: 13.52 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.006229, allocations: 49.33 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.006233, allocations: 5.609 kB / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006234, allocations: 0 / 327.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.006239, allocations: 0 / 327.4 MB, free: 14.99 MB / 302.1 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.0005264/0.006765, allocations: 291.4 kB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.00681, allocations: 10.67 kB / 327.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.006975, allocations: 15.94 kB / 327.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.007191, allocations: 143.8 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.007203, allocations: 6.438 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.007218, allocations: 5.781 kB / 327.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.007492, allocations: 93.2 kB / 328 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.007503, allocations: 192 / 328 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.007514, allocations: 1.469 kB / 328 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.00752, allocations: 3.938 kB / 328 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/0.007599, allocations: 19.28 kB / 328 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.007925, allocations: 208.9 kB / 328.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.008032, allocations: 51.8 kB / 328.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.008083, allocations: 16.67 kB / 328.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.008106, allocations: 1.219 kB / 328.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.008144, allocations: 45.05 kB / 328.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.008145, allocations: 1.312 kB / 328.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002513/0.008396, allocations: 66.27 kB / 328.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.008509, allocations: 79.34 kB / 328.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.008656, allocations: 140.5 kB / 328.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.008674, allocations: 29.7 kB / 328.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.008747, allocations: 91.73 kB / 328.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.00876, allocations: 1.75 kB / 328.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.008799, allocations: 17.12 kB / 328.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.00897, allocations: 317.4 kB / 329 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.00901, allocations: 7.5 kB / 329.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.943e-05/0.00904, allocations: 5.312 kB / 329.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.438e-05/0.009114, allocations: 25.86 kB / 329.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009116, allocations: 5.469 kB / 329.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001154/0.009232, allocations: 47.25 kB / 329.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.009251, allocations: 9.969 kB / 329.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009256, allocations: 0 / 329.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.009272, allocations: 0 / 329.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.00934, allocations: 5.922 kB / 329.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.009344, allocations: 0 / 329.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.009375, allocations: 2.094 kB / 329.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.009383, allocations: 1.031 kB / 329.2 MB, free: 13.35 MB / 302.1 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 9.599e-05/0.009479, allocations: 120.8 kB / 329.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.009554, allocations: 50.02 kB / 329.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.009587, allocations: 16.25 kB / 329.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.009589, allocations: 5.25 kB / 329.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.009595, allocations: 1.188 kB / 329.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.009597, allocations: 0 / 329.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.009765, allocations: 117.1 kB / 329.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009766, allocations: 0 / 329.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.009811, allocations: 9.844 kB / 329.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009813, allocations: 1.375 kB / 329.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.009824, allocations: 10.08 kB / 329.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.009826, allocations: 0 / 329.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.009828, allocations: 2.234 kB / 329.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.01003, allocations: 153.9 kB / 329.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.01007, allocations: 15.91 kB / 329.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.01009, allocations: 5.125 kB / 329.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.01016, allocations: 3.547 kB / 329.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.01019, allocations: 2.031 kB / 329.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.0102, allocations: 1.188 kB / 329.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.044e-05/0.01029, allocations: 111.6 kB / 329.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01029, allocations: 3.938 kB / 329.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.01051, allocations: 5.969 kB / 329.8 MB, free: 12.78 MB / 302.1 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 0.000115/0.01062, allocations: 100 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01074, allocations: 17.55 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01074, allocations: 0 / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.01078, allocations: 8.469 kB / 329.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.01111, allocations: 20.14 kB / 329.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.01147, allocations: 161 kB / 330.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.021e-05/0.01156, allocations: 76.58 kB / 330.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.629e-05/0.01158, allocations: 1.859 kB / 330.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.01161, allocations: 11.09 kB / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01161, allocations: 0 / 330.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of Templates: time 0.003227/0.01484, allocations: 0.4978 MB / 330.7 MB, free: 12.37 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.439571768045425]