Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0009798/0.0009798, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001553/0.002533, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006581/0.0006581, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009064/0.001565, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8281/0.8281, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1484/0.9765, allocations: 52.5 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.01e-07/9.01e-07, allocations: 0 / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.523e-05, allocations: 2.312 kB / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001565/0.00158, allocations: 1.029 MB / 240.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001598/0.00174, allocations: 120.3 kB / 240.9 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.001787, allocations: 3.938 kB / 240.9 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.001811, allocations: 8.562 kB / 240.9 MB, free: 5.203 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.001857, allocations: 16.64 kB / 240.9 MB, free: 5.188 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.001959, allocations: 35.83 kB / 241 MB, free: 5.152 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.584e-05/0.002024, allocations: 40.52 kB / 241 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.002086, allocations: 16.17 kB / 241 MB, free: 5.094 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.758e-05/0.002133, allocations: 34.44 kB / 241.1 MB, free: 5.062 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.035e-05/0.002164, allocations: 11.92 kB / 241.1 MB, free: 5.051 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.002178, allocations: 0 / 241.1 MB, free: 5.051 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.002186, allocations: 4 kB / 241.1 MB, free: 5.047 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.002215, allocations: 15.94 kB / 241.1 MB, free: 5.031 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.617e-05/0.002232, allocations: 8 kB / 241.1 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 6.942e-05/0.002301, allocations: 47.75 kB / 241.1 MB, free: 4.977 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.002308, allocations: 1.469 kB / 241.1 MB, free: 4.977 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.002308, allocations: 0 / 241.1 MB, free: 4.977 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.002314, allocations: 0 / 241.1 MB, free: 4.977 MB / 234.7 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.000228/0.002542, allocations: 285.1 kB / 241.4 MB, free: 4.676 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.287e-05/0.002565, allocations: 8.031 kB / 241.4 MB, free: 4.668 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.235e-05/0.002588, allocations: 21.95 kB / 241.5 MB, free: 4.648 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.817e-05/0.002686, allocations: 129.6 kB / 241.6 MB, free: 4.496 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.002692, allocations: 7.5 kB / 241.6 MB, free: 4.492 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.002701, allocations: 12.36 kB / 241.6 MB, free: 4.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.002804, allocations: 99.7 kB / 241.7 MB, free: 4.371 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.539e-06/0.002809, allocations: 4.125 kB / 241.7 MB, free: 4.367 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-06/0.002814, allocations: 8.375 kB / 241.7 MB, free: 4.359 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.002818, allocations: 5.406 kB / 241.7 MB, free: 4.355 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.221e-05/0.00283, allocations: 11.98 kB / 241.7 MB, free: 4.344 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.111e-05/0.002871, allocations: 60.98 kB / 241.8 MB, free: 4.27 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.325e-05/0.002934, allocations: 39.62 kB / 241.8 MB, free: 4.223 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.002957, allocations: 32.98 kB / 241.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-06/0.002961, allocations: 3 kB / 241.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.002975, allocations: 30.56 kB / 241.9 MB, free: 4.148 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 6.31e-07/0.002975, allocations: 0 / 241.9 MB, free: 4.148 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 7.514e-05/0.00305, allocations: 69.61 kB / 242 MB, free: 4.074 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.003077, allocations: 51.41 kB / 242 MB, free: 4.012 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.119e-05/0.003128, allocations: 132.8 kB / 242.1 MB, free: 3.871 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.003136, allocations: 29.7 kB / 242.2 MB, free: 3.836 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.003154, allocations: 88.12 kB / 242.2 MB, free: 3.746 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.003161, allocations: 0.9688 kB / 242.3 MB, free: 3.746 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.003179, allocations: 17.67 kB / 242.3 MB, free: 3.723 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.003236, allocations: 318.8 kB / 242.6 MB, free: 3.402 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-06/0.003239, allocations: 0.9062 kB / 242.6 MB, free: 3.402 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-06/0.003243, allocations: 4 kB / 242.6 MB, free: 3.398 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.395e-05/0.003257, allocations: 18.56 kB / 242.6 MB, free: 3.379 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.003258, allocations: 3.938 kB / 242.6 MB, free: 3.375 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.553e-05/0.003284, allocations: 37.69 kB / 242.6 MB, free: 3.332 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.003292, allocations: 4.656 kB / 242.6 MB, free: 3.328 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.003294, allocations: 0 / 242.6 MB, free: 3.328 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.0033, allocations: 0.6875 kB / 242.6 MB, free: 3.328 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.303e-05/0.003323, allocations: 4 kB / 242.7 MB, free: 3.324 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.003325, allocations: 1.969 kB / 242.7 MB, free: 3.324 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-06/0.003332, allocations: 0 / 242.7 MB, free: 3.324 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.003336, allocations: 7.938 kB / 242.7 MB, free: 3.316 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * 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 4.282e-05/0.003379, allocations: 112.7 kB / 242.8 MB, free: 3.195 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.003409, allocations: 59.06 kB / 242.8 MB, free: 3.133 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.00343, allocations: 12.78 kB / 242.8 MB, free: 3.117 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.003431, allocations: 0 / 242.8 MB, free: 3.117 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.003432, allocations: 0 / 242.8 MB, free: 3.117 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.003434, allocations: 0.625 kB / 242.8 MB, free: 3.117 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.938e-05/0.003474, allocations: 81.81 kB / 242.9 MB, free: 3.02 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.003474, allocations: 0.5938 kB / 242.9 MB, free: 3.02 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.003502, allocations: 12 kB / 242.9 MB, free: 3.008 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.003521, allocations: 16.47 kB / 243 MB, free: 2.992 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.003522, allocations: 1.688 kB / 243 MB, free: 2.992 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-06/0.003525, allocations: 0 / 243 MB, free: 2.992 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.003526, allocations: 4 kB / 243 MB, free: 2.988 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003527, allocations: 0 / 243 MB, free: 2.988 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.951e-05/0.003557, allocations: 65 kB / 243 MB, free: 2.906 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.003568, allocations: 4.5 kB / 243 MB, free: 2.902 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-06/0.003575, allocations: 0.8438 kB / 243 MB, free: 2.902 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-06/0.003576, allocations: 4 kB / 243 MB, free: 2.898 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.003578, allocations: 1.625 kB / 243 MB, free: 2.898 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.92e-05/0.003598, allocations: 31.02 kB / 243.1 MB, free: 2.867 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003598, allocations: 0 / 243.1 MB, free: 2.867 MB / 234.7 MB Notification: Performance of remove unused functions: time 8.356e-05/0.003681, allocations: 4 kB / 243.1 MB, free: 2.863 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 4.487e-05/0.003726, allocations: 80.52 kB / 243.1 MB, free: 2.777 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.152e-05/0.003768, allocations: 24.78 kB / 243.2 MB, free: 2.75 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.00377, allocations: 0 / 243.2 MB, free: 2.75 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.00377, allocations: 0 / 243.2 MB, free: 2.75 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.003906, allocations: 105.7 kB / 243.3 MB, free: 2.633 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001543/0.00406, allocations: 165.1 kB / 243.4 MB, free: 2.445 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.408e-05/0.004085, allocations: 63.34 kB / 243.5 MB, free: 2.363 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 9.338e-06/0.004094, allocations: 4 kB / 243.5 MB, free: 2.359 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.004129, allocations: 51.47 kB / 243.5 MB, free: 2.309 MB / 234.7 MB Notification: Performance of SimCode: time 3.11e-07/0.00413, allocations: 4 kB / 243.6 MB, free: 2.305 MB / 234.7 MB Notification: Performance of Templates: time 0.001657/0.005786, allocations: 0.6837 MB / 244.2 MB, free: 1.641 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.2037576008588076]