Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 51.91 kB / 366.8 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003111/0.1047, allocations: 1.55 MB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005308/0.1052, allocations: 147.4 kB / 420.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.1053, allocations: 8 kB / 420.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.033e-05/0.1053, allocations: 3.938 kB / 420.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.1055, allocations: 7.922 kB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1057, allocations: 35.91 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.1059, allocations: 31.92 kB / 420.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.106, allocations: 11.98 kB / 420.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.1061, allocations: 15.92 kB / 420.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.245e-05/0.1061, allocations: 19.86 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.1062, allocations: 4 kB / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.1062, allocations: 0 / 420.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.1062, allocations: 7.984 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.1063, allocations: 31.81 kB / 420.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1065, allocations: 47.69 kB / 420.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1065, allocations: 3.938 kB / 420.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1065, allocations: 4 kB / 420.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1065, allocations: 0 / 420.9 MB, free: 10.18 MB / 350.1 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.0006002/0.1071, allocations: 371.1 kB / 421.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.1071, allocations: 8.031 kB / 421.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.1072, allocations: 8.891 kB / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1075, allocations: 196.2 kB / 421.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1075, allocations: 4.375 kB / 421.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1075, allocations: 4.375 kB / 421.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.1079, allocations: 113.5 kB / 421.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1079, allocations: 4.188 kB / 421.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1079, allocations: 7.938 kB / 421.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1079, allocations: 0 / 421.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.108, allocations: 15.98 kB / 421.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.1084, allocations: 265.7 kB / 421.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1087, allocations: 142.2 kB / 422 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.1087, allocations: 25.77 kB / 422 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1087, allocations: 0 / 422 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.1088, allocations: 38.5 kB / 422.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1088, allocations: 3.938 kB / 422.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000255/0.109, allocations: 77.56 kB / 422.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.1091, allocations: 81.11 kB / 422.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1092, allocations: 137.2 kB / 422.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1093, allocations: 25.7 kB / 422.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.1093, allocations: 88.14 kB / 422.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.1093, allocations: 0 / 422.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.1094, allocations: 25.61 kB / 422.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1095, allocations: 319 kB / 422.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.1096, allocations: 12 kB / 422.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.1096, allocations: 35.42 kB / 422.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1097, allocations: 47.36 kB / 422.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1097, allocations: 0 / 422.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.1099, allocations: 73.48 kB / 423 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1099, allocations: 10.5 kB / 423 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1099, allocations: 0 / 423 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1099, allocations: 0 / 423 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.11, allocations: 12.12 kB / 423 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.11, allocations: 4 kB / 423 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.11, allocations: 0 / 423 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.11, allocations: 4 kB / 423 MB, free: 7.77 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0001026/0.1101, allocations: 121.8 kB / 423.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.1102, allocations: 53.58 kB / 423.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.1102, allocations: 12.25 kB / 423.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1102, allocations: 336 / 423.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1102, allocations: 0 / 423.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1102, allocations: 4 kB / 423.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.1105, allocations: 173.6 kB / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1105, allocations: 4 kB / 423.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.1105, allocations: 11.97 kB / 423.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1105, allocations: 4 kB / 423.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1105, allocations: 0 / 423.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1105, allocations: 0 / 423.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1105, allocations: 0 / 423.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1107, allocations: 176.2 kB / 423.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.608e-05/0.1108, allocations: 96.98 kB / 423.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1108, allocations: 0 / 423.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.753e-05/0.1109, allocations: 4 kB / 423.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.1109, allocations: 0 / 423.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1109, allocations: 0 / 423.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.73e-05/0.111, allocations: 107.2 kB / 423.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.111, allocations: 0 / 423.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1112, allocations: 11.94 kB / 423.8 MB, free: 6.895 MB / 350.1 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 0.0001141/0.1113, allocations: 103.7 kB / 423.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1115, allocations: 31.92 kB / 423.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1115, allocations: 0 / 423.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.674e-05/0.1116, allocations: 11.98 kB / 423.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1119, allocations: 19.97 kB / 423.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.1123, allocations: 180.3 kB / 424.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1126, allocations: 0.6922 MB / 424.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.1127, allocations: 11.44 kB / 424.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1127, allocations: 0 / 424.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Templates: time 0.002454/0.1151, allocations: 0.6939 MB / 425.5 MB, free: 5.086 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.642467561177909]