Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001995/0.003227, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002693, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.023/1.023, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09396/1.117, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.861e-05, allocations: 6.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002971/0.003, allocations: 1.678 MB / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.003833, allocations: 0.5374 MB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.003904, allocations: 3.938 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.003944, allocations: 7.922 kB / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.004025, allocations: 11.92 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.004229, allocations: 59.69 kB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.402e-05/0.004323, allocations: 43.86 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.004399, allocations: 11.98 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.00453, allocations: 39.91 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.004577, allocations: 11.92 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.004591, allocations: 4 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.579e-05/0.004647, allocations: 11.98 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.004687, allocations: 15.92 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.004708, allocations: 11.94 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.004843, allocations: 39.8 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.004852, allocations: 4 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.004854, allocations: 0 / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.004862, allocations: 3.938 kB / 247.7 MB, free: 11.05 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003809/0.005243, allocations: 296.3 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.005278, allocations: 8.625 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.00543, allocations: 98.03 kB / 248.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.005587, allocations: 137.6 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.005595, allocations: 384 / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.005606, allocations: 12.38 kB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.005777, allocations: 122.2 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.005783, allocations: 192 / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.00579, allocations: 384 / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.005794, allocations: 3.938 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.00581, allocations: 4 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.005965, allocations: 153.1 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/0.006061, allocations: 57.09 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.006081, allocations: 17.78 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.006095, allocations: 0 / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.006114, allocations: 34.56 kB / 248.6 MB, free: 9.984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.006114, allocations: 3.938 kB / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001073/0.006222, allocations: 53.61 kB / 248.7 MB, free: 9.922 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.006263, allocations: 85.05 kB / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.006334, allocations: 141.7 kB / 248.9 MB, free: 9.672 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.006343, allocations: 25.7 kB / 248.9 MB, free: 9.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.006373, allocations: 88.27 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.006387, allocations: 3.953 kB / 249 MB, free: 9.547 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.00641, allocations: 13.7 kB / 249 MB, free: 9.527 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.006489, allocations: 318.8 kB / 249.3 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.006497, allocations: 4 kB / 249.3 MB, free: 9.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.006503, allocations: 0 / 249.3 MB, free: 9.203 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.828e-05/0.006521, allocations: 8.859 kB / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006523, allocations: 0 / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.035e-05/0.006564, allocations: 41.62 kB / 249.4 MB, free: 9.145 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.006576, allocations: 4.094 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.00658, allocations: 4 kB / 249.4 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.006593, allocations: 3.938 kB / 249.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.006644, allocations: 4 kB / 249.4 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.006648, allocations: 3.984 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.006661, allocations: 0 / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006667, allocations: 4 kB / 249.4 MB, free: 9.121 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 6.169e-05/0.006729, allocations: 112.7 kB / 249.5 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.006765, allocations: 37.69 kB / 249.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.006793, allocations: 12.34 kB / 249.6 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006796, allocations: 7.938 kB / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.006798, allocations: 0 / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006801, allocations: 0 / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.692e-05/0.006888, allocations: 73.88 kB / 249.7 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.00689, allocations: 4 kB / 249.7 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.006921, allocations: 15.92 kB / 249.7 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.006943, allocations: 15.83 kB / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006944, allocations: 0 / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.006951, allocations: 7.984 kB / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.006953, allocations: 3.938 kB / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006954, allocations: 0 / 249.7 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.007021, allocations: 144.4 kB / 249.8 MB, free: 8.637 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-06/0.007029, allocations: 0 / 249.8 MB, free: 8.637 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.793e-05/0.007057, allocations: 4 kB / 249.9 MB, free: 8.633 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.007079, allocations: 3.938 kB / 249.9 MB, free: 8.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.007081, allocations: 0 / 249.9 MB, free: 8.629 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.292e-05/0.007104, allocations: 28.78 kB / 249.9 MB, free: 8.598 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007104, allocations: 0 / 249.9 MB, free: 8.598 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000108/0.007212, allocations: 8 kB / 249.9 MB, free: 8.59 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 (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 7.415e-05/0.007286, allocations: 80.41 kB / 250 MB, free: 8.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.127e-05/0.007337, allocations: 12.89 kB / 250 MB, free: 8.484 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.007341, allocations: 0 / 250 MB, free: 8.484 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.007355, allocations: 8.859 kB / 250 MB, free: 8.473 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.007559, allocations: 88.48 kB / 250.1 MB, free: 8.375 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.008175, allocations: 178.8 kB / 250.3 MB, free: 8.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.65e-05/0.008211, allocations: 63.34 kB / 250.3 MB, free: 8.09 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.808e-05/0.008239, allocations: 12.17 kB / 250.3 MB, free: 8.078 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.827e-05/0.008287, allocations: 55.38 kB / 250.4 MB, free: 8.023 MB / 250.7 MB Notification: Performance of SimCode: time 9.42e-07/0.008288, allocations: 0 / 250.4 MB, free: 8.023 MB / 250.7 MB Notification: Performance of Templates: time 0.002087/0.01037, allocations: 0.5878 MB / 251 MB, free: 7.453 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.4442434906959534]