Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.001497/0.001497, allocations: 120 kB / 18.46 MB, free: 4.613 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.001542/0.001542, allocations: 185.2 kB / 21.39 MB, free: 1.688 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.384/1.384, 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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 51.92 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1065, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002159/0.1087, allocations: 0.8485 MB / 419.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.109, allocations: 123.5 kB / 419.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.164e-05/0.1091, allocations: 4 kB / 419.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.596e-05/0.1092, allocations: 7.938 kB / 419.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.1093, allocations: 15.86 kB / 419.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.1095, allocations: 31.91 kB / 420 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1096, allocations: 51.78 kB / 420 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1097, allocations: 19.98 kB / 420 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.1097, allocations: 19.94 kB / 420.1 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.704e-05/0.1098, allocations: 19.86 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1098, allocations: 4 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.1098, allocations: 4 kB / 420.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.1099, allocations: 19.92 kB / 420.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.655e-05/0.1099, allocations: 31.78 kB / 420.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.11, allocations: 59.69 kB / 420.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1101, allocations: 0 / 420.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1101, allocations: 0 / 420.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1101, allocations: 0 / 420.2 MB, free: 10.87 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005168/0.1106, allocations: 387 kB / 420.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1106, allocations: 11.97 kB / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.1106, allocations: 12.89 kB / 420.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1109, allocations: 196.2 kB / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1109, allocations: 8.375 kB / 420.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1109, allocations: 8.312 kB / 420.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.1112, allocations: 139.8 kB / 420.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1112, allocations: 4.188 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1112, allocations: 3.938 kB / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1112, allocations: 0 / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.1113, allocations: 19.98 kB / 421 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.1115, allocations: 181.5 kB / 421.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1116, allocations: 82.61 kB / 421.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.088e-05/0.1117, allocations: 40.84 kB / 421.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.1117, allocations: 0 / 421.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1117, allocations: 30.56 kB / 421.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.1117, allocations: 0 / 421.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002216/0.1119, allocations: 105.7 kB / 421.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.112, allocations: 59.41 kB / 421.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1121, allocations: 143.8 kB / 421.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1122, allocations: 29.7 kB / 421.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.1122, allocations: 88.08 kB / 421.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.1122, allocations: 7.984 kB / 421.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1123, allocations: 25.67 kB / 421.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1124, allocations: 322.8 kB / 422.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.1124, allocations: 4 kB / 422.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.1125, allocations: 66.86 kB / 422.1 MB, free: 8.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.921e-05/0.1126, allocations: 70.75 kB / 422.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1126, allocations: 4 kB / 422.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001372/0.1127, allocations: 93.44 kB / 422.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1127, allocations: 12.19 kB / 422.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1128, allocations: 4 kB / 422.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1128, allocations: 4 kB / 422.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.1128, allocations: 12 kB / 422.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1129, allocations: 7.984 kB / 422.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.1129, allocations: 0 / 422.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1129, allocations: 4 kB / 422.3 MB, free: 8.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001045/0.113, allocations: 129.8 kB / 422.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.1131, allocations: 81.88 kB / 422.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.1131, allocations: 20.72 kB / 422.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1131, allocations: 0 / 422.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1132, allocations: 192 / 422.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1132, allocations: 0 / 422.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.1133, allocations: 181.5 kB / 422.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1133, allocations: 0 / 422.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.1133, allocations: 12 kB / 422.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1134, allocations: 7.875 kB / 422.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1134, allocations: 7.984 kB / 422.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1134, allocations: 0 / 422.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1134, allocations: 0 / 422.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.1135, allocations: 117.1 kB / 422.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.1136, allocations: 101 kB / 423 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1136, allocations: 7.922 kB / 423 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.1136, allocations: 0 / 423 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.1136, allocations: 4 kB / 423 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1136, allocations: 0 / 423 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.001e-05/0.1137, allocations: 107.3 kB / 423.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1137, allocations: 4 kB / 423.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002002/0.1139, allocations: 8 kB / 423.1 MB, free: 7.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001251/0.114, allocations: 117.8 kB / 423.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1142, allocations: 39.92 kB / 423.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1142, allocations: 0 / 423.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1142, allocations: 0.5 kB / 423.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1145, allocations: 45.58 kB / 423.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.1148, allocations: 207 kB / 423.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1152, allocations: 0.7117 MB / 424.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.1152, allocations: 11.44 kB / 424.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1152, allocations: 0 / 424.2 MB, free: 6.383 MB / 350.1 MB Notification: Performance of Templates: time 0.002579/0.1178, allocations: 0.8812 MB / 425.1 MB, free: 5.504 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.412507595028728]