Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001357/0.001357, allocations: 111.8 kB / 19.17 MB, free: 3.891 MB / 14.72 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.001421/0.001421, allocations: 208.9 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.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-beta.om/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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 79.75 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1128, allocations: 53.32 MB / 428 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002986/0.1158, allocations: 1.564 MB / 429.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1168, allocations: 0.5726 MB / 430.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.1169, allocations: 0 / 430.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.846e-05/0.1169, allocations: 7.875 kB / 430.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.1171, allocations: 11.92 kB / 430.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.1174, allocations: 59.77 kB / 430.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1175, allocations: 55.77 kB / 430.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.1176, allocations: 12.17 kB / 430.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1177, allocations: 19.94 kB / 430.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.1178, allocations: 23.86 kB / 430.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1178, allocations: 7.938 kB / 430.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.656e-05/0.1178, allocations: 11.98 kB / 430.4 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.1179, allocations: 15.92 kB / 430.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.1179, allocations: 31.8 kB / 430.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1181, allocations: 55.69 kB / 430.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1181, allocations: 3.938 kB / 430.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1181, allocations: 0 / 430.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1181, allocations: 0 / 430.5 MB, free: 1.895 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.0005318/0.1186, allocations: 383 kB / 430.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1187, allocations: 12.03 kB / 430.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.1188, allocations: 16.88 kB / 430.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1191, allocations: 202.6 kB / 431.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1191, allocations: 8.359 kB / 431.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1191, allocations: 8.375 kB / 431.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.1194, allocations: 109.2 kB / 431.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.1194, allocations: 0 / 431.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1194, allocations: 0 / 431.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1194, allocations: 0 / 431.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.1195, allocations: 23.92 kB / 431.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.1198, allocations: 265.8 kB / 431.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.1199, allocations: 37.16 kB / 431.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.12, allocations: 25.77 kB / 431.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.12, allocations: 0 / 431.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.12, allocations: 34.56 kB / 431.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.12, allocations: 0 / 431.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002466/0.1203, allocations: 77.5 kB / 431.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.1203, allocations: 77.11 kB / 431.7 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1205, allocations: 141.8 kB / 431.9 MB, free: 288 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1205, allocations: 25.7 kB / 431.9 MB, free: 256 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.1205, allocations: 88.39 kB / 432 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.1206, allocations: 7.953 kB / 432 MB, free: 156 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.1206, allocations: 17.66 kB / 432 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2313/0.3519, allocations: 323.4 kB / 432.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.352, allocations: 3.062 kB / 432.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.352, allocations: 19.77 kB / 432.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.3521, allocations: 31.95 kB / 432.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3521, allocations: 0 / 432.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000157/0.3523, allocations: 57.2 kB / 432.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.3523, allocations: 6.141 kB / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3523, allocations: 0.625 kB / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.3524, allocations: 2.938 kB / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.561e-05/0.3524, allocations: 5.891 kB / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3524, allocations: 1.5 kB / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.3525, allocations: 9.281 kB / 432.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3525, allocations: 1.547 kB / 432.5 MB, free: 11.04 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.121e-05/0.3526, allocations: 118.2 kB / 432.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.3527, allocations: 44.48 kB / 432.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.3527, allocations: 11.5 kB / 432.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.3527, allocations: 6.469 kB / 432.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3527, allocations: 1.031 kB / 432.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3527, allocations: 0 / 432.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3529, allocations: 167.4 kB / 432.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3529, allocations: 0 / 432.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.353, allocations: 9.172 kB / 432.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.353, allocations: 1.938 kB / 432.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.353, allocations: 2.125 kB / 432.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.353, allocations: 5.281 kB / 432.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.353, allocations: 1.844 kB / 432.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.3531, allocations: 162.8 kB / 433 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.3532, allocations: 92.58 kB / 433.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3532, allocations: 1.25 kB / 433.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.3533, allocations: 11.59 kB / 433.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3533, allocations: 1.656 kB / 433.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.3533, allocations: 2.062 kB / 433.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.642e-05/0.3534, allocations: 116.6 kB / 433.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3534, allocations: 3.469 kB / 433.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.3536, allocations: 4.531 kB / 433.2 MB, free: 10.38 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 0.0001122/0.3538, allocations: 96.64 kB / 433.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.3539, allocations: 22.88 kB / 433.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3539, allocations: 1.531 kB / 433.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.354, allocations: 9.953 kB / 433.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3543, allocations: 20.94 kB / 433.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.3547, allocations: 189.5 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.3549, allocations: 0.6893 MB / 434.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.3549, allocations: 9.406 kB / 434.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3549, allocations: 0.5 kB / 434.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of Templates: time 0.00259/0.3575, allocations: 0.7477 MB / 435 MB, free: 9.43 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.8620982938446105]