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.001232/0.001232, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00114/0.00114, allocations: 163.6 kB / 24.99 MB, free: 8.746 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 1.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.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 1.653e-06/1.653e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.816e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002169/0.002197, allocations: 1.621 MB / 274.7 MB, free: 208 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.003053, allocations: 0.518 MB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.003146, allocations: 4 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.317e-05/0.003199, allocations: 7.938 kB / 275.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.003341, allocations: 7.875 kB / 275.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.00364, allocations: 55.75 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.003745, allocations: 43.84 kB / 275.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003845, allocations: 0 / 275.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.004013, allocations: 39.84 kB / 275.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.004064, allocations: 11.92 kB / 275.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.004081, allocations: 0 / 275.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.491e-05/0.004126, allocations: 15.92 kB / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.004171, allocations: 12 kB / 275.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.004198, allocations: 15.92 kB / 275.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.004356, allocations: 39.83 kB / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.004359, allocations: 0 / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00436, allocations: 0 / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.004366, allocations: 0 / 275.4 MB, free: 15.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004401/0.004807, allocations: 392.4 kB / 275.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.004865, allocations: 12.03 kB / 275.8 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.005017, allocations: 16.83 kB / 275.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.005225, allocations: 155.7 kB / 276 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.005235, allocations: 384 / 276 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.005249, allocations: 8.312 kB / 276 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.005499, allocations: 105.6 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.005506, allocations: 192 / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005515, allocations: 384 / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.005524, allocations: 7.938 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.005546, allocations: 7.938 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.005831, allocations: 271.5 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.83e-05/0.005889, allocations: 58.11 kB / 276.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.005913, allocations: 19.38 kB / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.00593, allocations: 0 / 276.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.005953, allocations: 41.39 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.005955, allocations: 0 / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001556/0.006111, allocations: 49.58 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.006161, allocations: 81.11 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.006258, allocations: 194.1 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.006267, allocations: 33.7 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.006317, allocations: 130.9 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.006333, allocations: 3.984 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.006361, allocations: 23.33 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.00651, allocations: 0.4884 MB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.006535, allocations: 0 / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.006545, allocations: 0 / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.006582, allocations: 11.69 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.006587, allocations: 3.984 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.762e-05/0.006664, allocations: 33.77 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.006681, allocations: 11.94 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.006687, allocations: 7.938 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.0067, allocations: 0 / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.006776, allocations: 4 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.006781, allocations: 3.938 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.006798, allocations: 3.984 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006803, allocations: 0 / 277.6 MB, free: 13.04 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 (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 6.336e-05/0.006866, allocations: 160.6 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.006904, allocations: 41.62 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.006936, allocations: 15.8 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006938, allocations: 0 / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.006942, allocations: 0 / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.006946, allocations: 4 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.007048, allocations: 120.6 kB / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.00705, allocations: 0 / 277.9 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.519e-05/0.007075, allocations: 4 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.007078, allocations: 3.984 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.007089, allocations: 11.92 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.007091, allocations: 7.922 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007092, allocations: 4.031 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.007206, allocations: 195.6 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.007238, allocations: 19.94 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.00725, allocations: 3.938 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.00728, allocations: 0 / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.007317, allocations: 7.984 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.00732, allocations: 0 / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.648e-05/0.007376, allocations: 142.1 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007376, allocations: 0 / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.007522, allocations: 4 kB / 278.3 MB, free: 12.23 MB / 266.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 0.0001207/0.007643, allocations: 111.2 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.824e-05/0.007741, allocations: 15.67 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.007744, allocations: 0 / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.568e-05/0.007759, allocations: 11.69 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.008054, allocations: 18.8 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.008596, allocations: 165.5 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.283e-05/0.008649, allocations: 63.34 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.301e-05/0.008672, allocations: 0 / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.0087, allocations: 12.48 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.008701, allocations: 0 / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Templates: time 0.00236/0.01106, allocations: 0.5194 MB / 279.2 MB, free: 11.26 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] 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","",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.8300197911448777]