Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.0007328/0.0007328, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001789, 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.0007456/0.0007456, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009579/0.001703, 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 0.9219/0.9219, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08385/1.006, allocations: 53.87 MB / 243.9 MB, free: 14.82 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.447e-05, allocations: 5.125 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002122/0.002146, allocations: 1.662 MB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006215/0.002768, allocations: 0.5381 MB / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.002837, allocations: 7.938 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.762e-05/0.002875, allocations: 3.938 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.00295, allocations: 11.86 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.003136, allocations: 47.83 kB / 247.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.328e-05/0.003219, allocations: 43.8 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.003291, allocations: 11.98 kB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.003411, allocations: 39.91 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.003454, allocations: 11.92 kB / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.003468, allocations: 0 / 247.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.003516, allocations: 8 kB / 247.6 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.003559, allocations: 15.92 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.518e-05/0.003574, allocations: 8 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.003678, allocations: 39.78 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.003689, allocations: 0 / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00369, allocations: 0 / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.003697, allocations: 8 kB / 247.7 MB, free: 11.06 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.0003287/0.004026, allocations: 284.2 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.004056, allocations: 8.625 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.004193, allocations: 94.03 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.00433, allocations: 133.7 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.004337, allocations: 4.375 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.004346, allocations: 4.375 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.004477, allocations: 102.3 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-06/0.004482, allocations: 192 / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.004488, allocations: 384 / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004493, allocations: 3.938 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.004509, allocations: 4 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.004653, allocations: 157 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.004691, allocations: 37.19 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.004704, allocations: 13.78 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.004716, allocations: 4 kB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.004735, allocations: 38.56 kB / 248.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.004736, allocations: 0 / 248.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.359e-05/0.00483, allocations: 49.56 kB / 248.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.004865, allocations: 81.11 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.617e-05/0.004941, allocations: 137.9 kB / 248.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.004949, allocations: 33.62 kB / 248.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.004982, allocations: 84.14 kB / 248.9 MB, free: 9.629 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.004994, allocations: 0 / 248.9 MB, free: 9.629 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.005018, allocations: 17.67 kB / 248.9 MB, free: 9.605 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.005086, allocations: 319.1 kB / 249.2 MB, free: 9.285 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.005095, allocations: 8 kB / 249.3 MB, free: 9.277 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.0051, allocations: 0 / 249.3 MB, free: 9.277 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/0.00512, allocations: 12.8 kB / 249.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005122, allocations: 0 / 249.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.686e-05/0.005159, allocations: 41.67 kB / 249.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.005169, allocations: 4 kB / 249.3 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.005172, allocations: 0 / 249.3 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.005185, allocations: 7.938 kB / 249.3 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.005231, allocations: 0 / 249.3 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.005234, allocations: 8.078 kB / 249.3 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.005249, allocations: 4 kB / 249.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.005253, allocations: 0 / 249.3 MB, free: 9.191 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.634e-05/0.0053, allocations: 112.7 kB / 249.4 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.005327, allocations: 37.64 kB / 249.5 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.005349, allocations: 11.8 kB / 249.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.005351, allocations: 3.938 kB / 249.5 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005353, allocations: 4 kB / 249.5 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005355, allocations: 0 / 249.5 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.005435, allocations: 69.92 kB / 249.6 MB, free: 8.922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.005437, allocations: 7.984 kB / 249.6 MB, free: 8.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.005456, allocations: 4 kB / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.005476, allocations: 7.953 kB / 249.6 MB, free: 8.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005477, allocations: 4 kB / 249.6 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.005483, allocations: 3.984 kB / 249.6 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.005484, allocations: 3.938 kB / 249.6 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005485, allocations: 0 / 249.6 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.234e-05/0.005548, allocations: 140.3 kB / 249.7 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.005556, allocations: 0 / 249.7 MB, free: 8.734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.712e-05/0.005583, allocations: 8.031 kB / 249.7 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.005604, allocations: 7.938 kB / 249.8 MB, free: 8.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.005606, allocations: 3.938 kB / 249.8 MB, free: 8.715 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.245e-05/0.005628, allocations: 24.83 kB / 249.8 MB, free: 8.688 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005629, allocations: 0 / 249.8 MB, free: 8.688 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001076/0.005736, allocations: 4 kB / 249.8 MB, free: 8.684 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 7.097e-05/0.005807, allocations: 80.41 kB / 249.9 MB, free: 8.594 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.86e-05/0.005856, allocations: 8.859 kB / 249.9 MB, free: 8.582 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.005859, allocations: 0 / 249.9 MB, free: 8.582 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.005873, allocations: 12.95 kB / 249.9 MB, free: 8.566 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.006065, allocations: 83.58 kB / 250 MB, free: 8.469 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.006664, allocations: 167.5 kB / 250.1 MB, free: 8.277 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.207e-05/0.006696, allocations: 59.34 kB / 250.2 MB, free: 8.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.945e-05/0.006715, allocations: 4 kB / 250.2 MB, free: 8.195 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.006765, allocations: 59.58 kB / 250.2 MB, free: 8.137 MB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.006766, allocations: 4 kB / 250.3 MB, free: 8.133 MB / 250.7 MB Notification: Performance of Templates: time 0.001905/0.008671, allocations: 0.533 MB / 250.8 MB, free: 7.617 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4834722746163607]