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.001395/0.001395, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001653/0.001653, allocations: 158.5 kB / 24.91 MB, free: 8.719 MB / 18.57 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.05/1.05, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.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.933e-06/1.933e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.92e-05, allocations: 5.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003174/0.003203, allocations: 1.638 MB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004225, allocations: 0.5296 MB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.004312, allocations: 7.938 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.231e-05/0.004364, allocations: 7.922 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.004503, allocations: 11.88 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.004796, allocations: 51.81 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.004908, allocations: 51.72 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.192e-05/0.00499, allocations: 19.98 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.005132, allocations: 27.86 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.005187, allocations: 15.97 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.005205, allocations: 4 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.074e-05/0.005246, allocations: 4 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.005289, allocations: 15.92 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.005318, allocations: 19.92 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.005442, allocations: 39.83 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.005444, allocations: 0 / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005445, allocations: 0 / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.005448, allocations: 8 kB / 275.8 MB, free: 14.58 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000349/0.005797, allocations: 280.5 kB / 276.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.005832, allocations: 11.98 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.005956, allocations: 20.92 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.006116, allocations: 133.7 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.00613, allocations: 8.312 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.006142, allocations: 4.375 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.006334, allocations: 118.3 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.006343, allocations: 4.125 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.006349, allocations: 384 / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.006358, allocations: 7.938 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.006377, allocations: 4 kB / 276.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.006557, allocations: 153.1 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.006677, allocations: 49.14 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.858e-05/0.006706, allocations: 21.7 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.006718, allocations: 0 / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.006742, allocations: 38.56 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.006743, allocations: 0 / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001296/0.006872, allocations: 57.55 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.006917, allocations: 81.05 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.048e-05/0.007007, allocations: 141.9 kB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.007018, allocations: 25.7 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.007058, allocations: 84.14 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.007072, allocations: 3.953 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.0071, allocations: 17.83 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.007191, allocations: 318.8 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.007204, allocations: 4 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.007211, allocations: 0 / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.5e-05/0.007236, allocations: 12.84 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007238, allocations: 0 / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.322e-05/0.007291, allocations: 33.64 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.007302, allocations: 4 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.007306, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.00732, allocations: 7.938 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.486e-05/0.007364, allocations: 8.078 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007369, allocations: 4 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.007392, allocations: 8 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.007397, allocations: 0 / 277.5 MB, free: 12.76 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.088e-05/0.007458, allocations: 108.7 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.007514, allocations: 37.69 kB / 277.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.007539, allocations: 16.28 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.007542, allocations: 3.938 kB / 277.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.007546, allocations: 4 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.007551, allocations: 3.984 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.007667, allocations: 73.89 kB / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007668, allocations: 0 / 277.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.007717, allocations: 15.92 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.007719, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.007724, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007726, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007727, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.618e-05/0.007813, allocations: 140.3 kB / 277.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.007848, allocations: 15.94 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.007862, allocations: 7.984 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.007923, allocations: 4.031 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.007948, allocations: 3.938 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.007953, allocations: 4 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.111e-05/0.007984, allocations: 20.84 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007984, allocations: 0 / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.008195, allocations: 8 kB / 277.9 MB, free: 12.24 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 (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 8.279e-05/0.008278, allocations: 84.34 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.945e-05/0.008338, allocations: 8.859 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.00834, allocations: 0 / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/0.008355, allocations: 12.92 kB / 278 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.008592, allocations: 28.69 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.00904, allocations: 178.9 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.009085, allocations: 63.34 kB / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.49e-05/0.00911, allocations: 384 / 278.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.009172, allocations: 59.36 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.009173, allocations: 4.062 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002485/0.01166, allocations: 0.5821 MB / 278.9 MB, free: 11.18 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9015513719059527]