Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001537/0.001537, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001641/0.001641, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.449/1.449, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 44.06 kB / 366.8 MB, free: 448 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 52.15 MB / 418.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002688/0.1043, allocations: 1.557 MB / 420.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008516/0.1051, allocations: 0.5025 MB / 421 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.1052, allocations: 4 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.526e-05/0.1053, allocations: 3.938 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.1054, allocations: 15.84 kB / 421 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1056, allocations: 51.83 kB / 421.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1057, allocations: 39.86 kB / 421.1 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.1058, allocations: 19.97 kB / 421.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.934e-05/0.1059, allocations: 27.84 kB / 421.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.643e-05/0.106, allocations: 19.94 kB / 421.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.106, allocations: 0 / 421.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.106, allocations: 4 kB / 421.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.106, allocations: 15.92 kB / 421.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.1061, allocations: 27.8 kB / 421.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.1062, allocations: 51.69 kB / 421.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1062, allocations: 0 / 421.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1062, allocations: 0 / 421.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1062, allocations: 4 kB / 421.3 MB, free: 9.836 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000491/0.1067, allocations: 387 kB / 421.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1067, allocations: 8.031 kB / 421.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.1068, allocations: 8.891 kB / 421.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.107, allocations: 198.4 kB / 421.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.107, allocations: 8.375 kB / 421.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.107, allocations: 384 / 421.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.1073, allocations: 113.3 kB / 422 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1073, allocations: 0 / 422 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1073, allocations: 4 kB / 422 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1073, allocations: 0 / 422 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.825e-05/0.1074, allocations: 19.92 kB / 422 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.1077, allocations: 269.7 kB / 422.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.163e-05/0.1078, allocations: 49.14 kB / 422.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.1079, allocations: 17.77 kB / 422.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1079, allocations: 4 kB / 422.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.1079, allocations: 38.56 kB / 422.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.1079, allocations: 3.938 kB / 422.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002442/0.1082, allocations: 61.61 kB / 422.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.1082, allocations: 81.11 kB / 422.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.1084, allocations: 138.4 kB / 422.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1084, allocations: 29.7 kB / 422.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.1084, allocations: 96.12 kB / 422.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.1084, allocations: 3.938 kB / 422.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.1085, allocations: 17.67 kB / 422.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1086, allocations: 314.8 kB / 423.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.1086, allocations: 7.984 kB / 423.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.1087, allocations: 25.66 kB / 423.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.409e-05/0.1088, allocations: 29.64 kB / 423.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1088, allocations: 0 / 423.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001349/0.1089, allocations: 61.61 kB / 423.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1089, allocations: 4 kB / 423.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1089, allocations: 0 / 423.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1089, allocations: 4.125 kB / 423.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.109, allocations: 4 kB / 423.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.109, allocations: 4 kB / 423.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.1091, allocations: 3.984 kB / 423.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1091, allocations: 0 / 423.2 MB, free: 7.594 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.961e-05/0.1092, allocations: 121.8 kB / 423.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.1092, allocations: 41.59 kB / 423.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.1092, allocations: 11.86 kB / 423.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1092, allocations: 4.031 kB / 423.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1092, allocations: 0 / 423.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1092, allocations: 4 kB / 423.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1094, allocations: 169.6 kB / 423.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1094, allocations: 0 / 423.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.1095, allocations: 4 kB / 423.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1095, allocations: 0 / 423.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.1095, allocations: 11.92 kB / 423.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1095, allocations: 0 / 423.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1095, allocations: 0 / 423.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.1097, allocations: 164.3 kB / 423.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.1097, allocations: 89.05 kB / 423.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1097, allocations: 4 kB / 423.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1098, allocations: 15.92 kB / 423.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.1098, allocations: 0 / 423.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1098, allocations: 0 / 423.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.1099, allocations: 113.5 kB / 424 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1099, allocations: 4 kB / 424 MB, free: 6.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1101, allocations: 7.938 kB / 424 MB, free: 6.738 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 (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 9.539e-05/0.1102, allocations: 99.72 kB / 424.1 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1104, allocations: 19.98 kB / 424.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1104, allocations: 0 / 424.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.911e-05/0.1104, allocations: 12.06 kB / 424.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1107, allocations: 21.98 kB / 424.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.1111, allocations: 185.2 kB / 424.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.1114, allocations: 0.6922 MB / 425 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.1114, allocations: 7.438 kB / 425 MB, free: 5.641 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1114, allocations: 0 / 425 MB, free: 5.641 MB / 350.1 MB Notification: Performance of Templates: time 0.002174/0.1136, allocations: 0.73 MB / 425.8 MB, free: 4.914 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.589001333108172]