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.001232/0.001232, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001544/0.001544, allocations: 161 kB / 24.91 MB, free: 9.188 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.119/1.119, allocations: 177 MB / 205.2 MB, free: 5.465 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.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 2.234e-06/2.234e-06, allocations: 0 / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.352e-05, allocations: 2.312 kB / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00356/0.003594, allocations: 1.622 MB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.004708, allocations: 0.5258 MB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.004808, allocations: 3.938 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.573e-05/0.004874, allocations: 3.938 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.005044, allocations: 15.86 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.005414, allocations: 47.81 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.005534, allocations: 39.86 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.00563, allocations: 11.97 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.005813, allocations: 43.78 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.005877, allocations: 15.92 kB / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.005897, allocations: 0 / 275.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.094e-05/0.005948, allocations: 12 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.005998, allocations: 11.92 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.006023, allocations: 8 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.006177, allocations: 39.83 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.006181, allocations: 0 / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006182, allocations: 0 / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.006187, allocations: 0 / 275.8 MB, free: 14.82 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.0004011/0.006588, allocations: 272.6 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.006632, allocations: 19.98 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.006789, allocations: 12.92 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.006995, allocations: 141.6 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.007005, allocations: 384 / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.007019, allocations: 4.375 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.007216, allocations: 98.28 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.007225, allocations: 4.188 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.007232, allocations: 384 / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.007243, allocations: 7.938 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.00726, allocations: 0 / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.007488, allocations: 157.1 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.377e-05/0.007552, allocations: 33.19 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.007574, allocations: 13.84 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.007591, allocations: 0 / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.00762, allocations: 34.5 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.007621, allocations: 0 / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001463/0.007767, allocations: 57.56 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.007826, allocations: 77.11 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.007926, allocations: 137.7 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.00794, allocations: 25.7 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.007982, allocations: 88.12 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.007998, allocations: 0 / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.008033, allocations: 21.67 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.008135, allocations: 314.8 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/0.008144, allocations: 4 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-06/0.008153, allocations: 4.25 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.909e-05/0.008182, allocations: 12.84 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.008185, allocations: 0 / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.529e-05/0.00825, allocations: 37.58 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.008266, allocations: 4 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.008272, allocations: 4 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.008289, allocations: 3.938 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.00836, allocations: 7.984 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.008363, allocations: 0 / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.008386, allocations: 4.094 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.008392, allocations: 4 kB / 277.4 MB, free: 13.05 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 7.235e-05/0.008465, allocations: 108.7 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.008526, allocations: 41.62 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.008554, allocations: 7.812 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.008558, allocations: 7.938 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.008561, allocations: 0 / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008564, allocations: 0 / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.008696, allocations: 73.88 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.008698, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.008736, allocations: 8.031 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.008741, allocations: 3.984 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.008746, allocations: 0 / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.008749, allocations: 4 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.008751, allocations: 0 / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.008871, allocations: 140.3 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.008907, allocations: 11.95 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.008922, allocations: 4 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.388e-05/0.008976, allocations: 0 / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.009015, allocations: 11.91 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.00902, allocations: 8.031 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.789e-05/0.009058, allocations: 24.83 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009058, allocations: 0 / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.009276, allocations: 4 kB / 277.8 MB, free: 12.55 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.000133/0.009409, allocations: 80.36 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.189e-05/0.009481, allocations: 12.86 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.009484, allocations: 0 / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.961e-05/0.009504, allocations: 16.78 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.009784, allocations: 15.53 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.01036, allocations: 167.6 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.0104, allocations: 59.34 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.2e-05/0.01044, allocations: 4 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.0105, allocations: 59.36 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0105, allocations: 0 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Templates: time 0.003102/0.0136, allocations: 0.5321 MB / 278.8 MB, free: 11.55 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.04198953602463]