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.001025/0.001025, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009771/0.0009771, allocations: 156.4 kB / 24.98 MB, free: 8.75 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 0.9942/0.9942, allocations: 177 MB / 205.2 MB, free: 5.594 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.593e-06/1.593e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.826e-05, allocations: 9.266 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002228/0.002256, allocations: 1.626 MB / 274.6 MB, free: 100 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007546/0.00301, allocations: 0.522 MB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.857e-05/0.003099, allocations: 3.938 kB / 275.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.003149, allocations: 7.922 kB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.003296, allocations: 11.88 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.003602, allocations: 51.81 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.00371, allocations: 51.73 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.003817, allocations: 11.97 kB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.003959, allocations: 31.86 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.00402, allocations: 23.97 kB / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.004036, allocations: 0 / 275.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.126e-05/0.004077, allocations: 8 kB / 275.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.004126, allocations: 15.92 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.004161, allocations: 11.94 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.004305, allocations: 47.81 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004308, allocations: 0 / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004309, allocations: 0 / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.004314, allocations: 0 / 275.4 MB, free: 15.3 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.0004049/0.004719, allocations: 404.2 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.00476, allocations: 15.98 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.004905, allocations: 24.89 kB / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.005092, allocations: 145.9 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.005102, allocations: 4.375 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.005112, allocations: 384 / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.005341, allocations: 133.5 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.005348, allocations: 12.06 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005358, allocations: 4.375 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.005366, allocations: 3.938 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.005392, allocations: 11.97 kB / 276.2 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.005649, allocations: 271.5 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.005792, allocations: 70.11 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.005827, allocations: 19.44 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.005844, allocations: 4 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.005868, allocations: 45.27 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005869, allocations: 4 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001742/0.006043, allocations: 61.62 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.006093, allocations: 81.05 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.006213, allocations: 196.7 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.006226, allocations: 25.7 kB / 276.9 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.006297, allocations: 134.9 kB / 277.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.00632, allocations: 7.938 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.006351, allocations: 19.38 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.006583, allocations: 496.1 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.006599, allocations: 0 / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.006606, allocations: 4.125 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.006637, allocations: 11.69 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.00664, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.085e-05/0.006701, allocations: 49.58 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.006716, allocations: 10.59 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.006721, allocations: 0 / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.006736, allocations: 0 / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.388e-05/0.00679, allocations: 4 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.006796, allocations: 0 / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.006813, allocations: 4.078 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.006819, allocations: 4 kB / 277.7 MB, free: 12.82 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 8.216e-05/0.006901, allocations: 156.6 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.006953, allocations: 49.59 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.00699, allocations: 16.33 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.006993, allocations: 0 / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.006998, allocations: 0 / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.007001, allocations: 0 / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.007116, allocations: 132.6 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007118, allocations: 3.938 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.007151, allocations: 7.984 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.007152, allocations: 8 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.007161, allocations: 3.938 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007162, allocations: 0 / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007164, allocations: 0 / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.007269, allocations: 207.6 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.007296, allocations: 15.94 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007309, allocations: 7.938 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.128e-05/0.00734, allocations: 4.281 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.00737, allocations: 7.922 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.007374, allocations: 4 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.874e-05/0.007422, allocations: 143.2 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007422, allocations: 0 / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000138/0.00756, allocations: 8 kB / 278.4 MB, free: 11.98 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.712e-05/0.007648, allocations: 95.25 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.007729, allocations: 19.66 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007731, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.007744, allocations: 11.69 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.007998, allocations: 24.8 kB / 278.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.00844, allocations: 180.8 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.807e-05/0.008478, allocations: 63.34 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.229e-05/0.0085, allocations: 0 / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.008528, allocations: 12.5 kB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.008529, allocations: 0 / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of Templates: time 0.002333/0.01086, allocations: 0.5461 MB / 279.4 MB, free: 10.96 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.751880805939436]