Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001356/0.001356, allocations: 84.55 kB / 20.68 MB, free: 1.012 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.001442/0.001442, allocations: 167.6 kB / 23.96 MB, free: 4.125 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.441/1.441, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.431e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003608/0.003643, allocations: 1.603 MB / 326.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.004907, allocations: 0.4977 MB / 327.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.005017, allocations: 10.25 kB / 327.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.723e-05/0.005074, allocations: 5.109 kB / 327.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.005229, allocations: 12.23 kB / 327.2 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.005629, allocations: 56.97 kB / 327.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.005763, allocations: 42.52 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.005862, allocations: 10.92 kB / 327.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.006072, allocations: 39.62 kB / 327.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.006152, allocations: 17.23 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.006174, allocations: 3.281 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.006224, allocations: 5.562 kB / 327.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.006273, allocations: 20.22 kB / 327.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.006314, allocations: 13.34 kB / 327.4 MB, free: 15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.006494, allocations: 57.28 kB / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006496, allocations: 0 / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006498, allocations: 0.6562 kB / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.006503, allocations: 0 / 327.5 MB, free: 14.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005372/0.00704, allocations: 306.3 kB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.007084, allocations: 9.312 kB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.007275, allocations: 22.03 kB / 327.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.007506, allocations: 139.8 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.00752, allocations: 2.812 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.007533, allocations: 2.625 kB / 327.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.007881, allocations: 117.1 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.007892, allocations: 1.438 kB / 328.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.007905, allocations: 8.922 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.007912, allocations: 9 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.969e-05/0.008002, allocations: 15.55 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.008341, allocations: 215.7 kB / 328.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.008547, allocations: 61.95 kB / 328.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.008628, allocations: 26.86 kB / 328.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.008653, allocations: 1.797 kB / 328.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.008689, allocations: 41.97 kB / 328.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.00869, allocations: 0 / 328.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002867/0.008977, allocations: 83.98 kB / 328.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.009053, allocations: 82.89 kB / 328.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.009218, allocations: 140.8 kB / 328.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.009242, allocations: 26.95 kB / 328.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.00931, allocations: 86.67 kB / 328.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.009326, allocations: 5.234 kB / 328.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.009368, allocations: 13.27 kB / 328.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.009525, allocations: 318.4 kB / 329.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.009569, allocations: 6.797 kB / 329.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.009605, allocations: 13.53 kB / 329.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.009697, allocations: 22.34 kB / 329.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.009699, allocations: 0 / 329.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000135/0.009834, allocations: 55.23 kB / 329.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.009853, allocations: 10.53 kB / 329.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.009858, allocations: 0.8438 kB / 329.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.009872, allocations: 0 / 329.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.009927, allocations: 11.62 kB / 329.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.009933, allocations: 2.125 kB / 329.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.009967, allocations: 1.531 kB / 329.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.009975, allocations: 2.422 kB / 329.3 MB, free: 13.29 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.9e-05/0.01007, allocations: 115.3 kB / 329.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.01016, allocations: 52.28 kB / 329.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.0102, allocations: 18.09 kB / 329.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01021, allocations: 1.281 kB / 329.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01021, allocations: 0 / 329.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.01022, allocations: 2.062 kB / 329.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.01037, allocations: 116.4 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01037, allocations: 3.938 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.01043, allocations: 9.219 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01043, allocations: 1.5 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.01045, allocations: 5.844 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01045, allocations: 0 / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.01045, allocations: 1.953 kB / 329.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.01067, allocations: 172.5 kB / 329.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.01071, allocations: 13.06 kB / 329.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.01073, allocations: 5.281 kB / 329.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.0108, allocations: 7.562 kB / 329.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.01083, allocations: 6.25 kB / 329.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01083, allocations: 6.719 kB / 329.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.01092, allocations: 106.2 kB / 329.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01092, allocations: 1.406 kB / 329.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.01114, allocations: 4 kB / 329.9 MB, free: 12.72 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 (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 0.0001077/0.01125, allocations: 94.89 kB / 330 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.0114, allocations: 26.28 kB / 330 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0114, allocations: 0 / 330 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/0.01144, allocations: 7.219 kB / 330.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.01177, allocations: 33.77 kB / 330.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.01216, allocations: 166.6 kB / 330.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.01226, allocations: 78.31 kB / 330.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.269e-05/0.0123, allocations: 2.781 kB / 330.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.01233, allocations: 14.31 kB / 330.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01233, allocations: 1.094 kB / 330.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Templates: time 0.003457/0.01579, allocations: 0.5466 MB / 330.9 MB, free: 12.29 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.3081522434949875]