Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002276/0.002276, allocations: 169.3 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 177.2 MB / 204.9 MB, free: 9.051 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 47.94 kB / 325.6 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1055, allocations: 53.34 MB / 378.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002912/0.1084, allocations: 1.569 MB / 380.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1095, allocations: 0.5259 MB / 381 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.1095, allocations: 7.938 kB / 381 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.1096, allocations: 11.86 kB / 381 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.1097, allocations: 7.938 kB / 381 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.11, allocations: 67.73 kB / 381.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1101, allocations: 39.86 kB / 381.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.1102, allocations: 16.17 kB / 381.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1103, allocations: 23.86 kB / 381.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.1104, allocations: 27.84 kB / 381.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1104, allocations: 4 kB / 381.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-05/0.1104, allocations: 8 kB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.1105, allocations: 15.92 kB / 381.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.1105, allocations: 15.88 kB / 381.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1107, allocations: 71.61 kB / 381.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1107, allocations: 0 / 381.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1107, allocations: 0 / 381.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1107, allocations: 0 / 381.3 MB, free: 13.3 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.0004709/0.1111, allocations: 302 kB / 381.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1112, allocations: 8.031 kB / 381.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.1113, allocations: 20.88 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1116, allocations: 146.3 kB / 381.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1116, allocations: 384 / 381.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.1116, allocations: 8.359 kB / 381.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.1119, allocations: 109.2 kB / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1119, allocations: 0 / 381.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1119, allocations: 4 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1119, allocations: 4 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.112, allocations: 23.86 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.1123, allocations: 201.5 kB / 382.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1124, allocations: 53.09 kB / 382.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.1124, allocations: 21.77 kB / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.1124, allocations: 0 / 382.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1125, allocations: 34.56 kB / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1125, allocations: 0 / 382.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000254/0.1127, allocations: 73.56 kB / 382.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.1128, allocations: 77.11 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1129, allocations: 145.8 kB / 382.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1129, allocations: 25.7 kB / 382.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.113, allocations: 88.14 kB / 382.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.113, allocations: 3.953 kB / 382.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.113, allocations: 13.72 kB / 382.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1132, allocations: 318.8 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.1132, allocations: 8.25 kB / 382.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.1133, allocations: 33.58 kB / 383 MB, free: 11.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.1133, allocations: 29.7 kB / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1134, allocations: 3.938 kB / 383 MB, free: 11.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001275/0.1135, allocations: 61.58 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1135, allocations: 8 kB / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1135, allocations: 128 / 383.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.1135, allocations: 4 kB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.1136, allocations: 7.984 kB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1136, allocations: 0 / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.1136, allocations: 4 kB / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1136, allocations: 0 / 383.1 MB, free: 11.28 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 9.322e-05/0.1137, allocations: 121.8 kB / 383.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.1138, allocations: 41.59 kB / 383.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.1138, allocations: 11.81 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1138, allocations: 0 / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1138, allocations: 4.031 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1138, allocations: 0 / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.114, allocations: 125.2 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.114, allocations: 0 / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.114, allocations: 4 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.114, allocations: 3.938 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.114, allocations: 4 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.114, allocations: 3.984 kB / 383.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.114, allocations: 0 / 383.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1142, allocations: 168.2 kB / 383.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.1143, allocations: 15.94 kB / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1143, allocations: 4 kB / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1143, allocations: 0 / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.1144, allocations: 0 / 383.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1144, allocations: 7.984 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.897e-05/0.1145, allocations: 106.2 kB / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1145, allocations: 0 / 383.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1147, allocations: 4 kB / 383.7 MB, free: 10.61 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 8.909e-05/0.1148, allocations: 99.23 kB / 383.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.1149, allocations: 24.02 kB / 383.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1149, allocations: 4 kB / 383.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.1149, allocations: 7.938 kB / 383.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1153, allocations: 23.89 kB / 383.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.1156, allocations: 167.7 kB / 384 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.1157, allocations: 75.61 kB / 384.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.867e-05/0.1157, allocations: 7.984 kB / 384.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.1158, allocations: 12.5 kB / 384.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1158, allocations: 0 / 384.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of Templates: time 0.002859/0.1186, allocations: 0.5786 MB / 384.7 MB, free: 9.566 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.2331810829928145]