Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.001344/0.001344, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001486/0.001486, allocations: 206.3 kB / 24.46 MB, free: 3.902 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.468/1.468, allocations: 230.5 MB / 258.1 MB, free: 8.137 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [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.001965/0.001965, allocations: 67.84 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2739, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002467/0.2764, allocations: 0.9743 MB / 433 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004147/0.2768, allocations: 115.7 kB / 433.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.2769, allocations: 0 / 433.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.695e-05/0.277, allocations: 3.938 kB / 433.1 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.2771, allocations: 15.86 kB / 433.2 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.2773, allocations: 35.91 kB / 433.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.2774, allocations: 39.84 kB / 433.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2776, allocations: 20.17 kB / 433.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.2776, allocations: 15.94 kB / 433.3 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.2776, allocations: 19.86 kB / 433.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2777, allocations: 4 kB / 433.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.2777, allocations: 4 kB / 433.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.2777, allocations: 15.92 kB / 433.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.2778, allocations: 27.8 kB / 433.3 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.2779, allocations: 61.23 kB / 433.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2779, allocations: 0 / 433.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2779, allocations: 0 / 433.4 MB, free: 6.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.2779, allocations: 0 / 433.4 MB, free: 6.039 MB / 334.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.0005101/0.2784, allocations: 375.1 kB / 433.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2785, allocations: 12.03 kB / 433.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.2785, allocations: 12.89 kB / 433.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.2788, allocations: 192.2 kB / 434 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.2788, allocations: 8.375 kB / 434 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2788, allocations: 8.312 kB / 434 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.2791, allocations: 131.8 kB / 434.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2791, allocations: 7.922 kB / 434.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2791, allocations: 0 / 434.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2791, allocations: 4 kB / 434.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.2792, allocations: 12 kB / 434.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.2793, allocations: 173.6 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.2795, allocations: 66.69 kB / 434.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.2796, allocations: 32.84 kB / 434.4 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.2796, allocations: 4 kB / 434.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.2796, allocations: 34.56 kB / 434.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.2796, allocations: 0 / 434.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002083/0.2798, allocations: 93.94 kB / 434.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.2799, allocations: 59.41 kB / 434.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.28, allocations: 133.8 kB / 434.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.28, allocations: 29.7 kB / 434.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.2801, allocations: 84.08 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.2801, allocations: 11.98 kB / 434.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.2801, allocations: 17.72 kB / 434.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2803, allocations: 322.8 kB / 435.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.2803, allocations: 8 kB / 435.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.2804, allocations: 62.86 kB / 435.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.2805, allocations: 74.75 kB / 435.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2805, allocations: 0 / 435.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001292/0.2806, allocations: 85.67 kB / 435.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2806, allocations: 20.89 kB / 435.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2806, allocations: 3.984 kB / 435.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.2807, allocations: 4 kB / 435.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.2807, allocations: 16 kB / 435.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2808, allocations: 4 kB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.2808, allocations: 15.83 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.2808, allocations: 4 kB / 435.5 MB, free: 3.684 MB / 334.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: 0 () * 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.000101/0.2809, allocations: 125.8 kB / 435.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.281, allocations: 73.58 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.281, allocations: 20.72 kB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.281, allocations: 0 / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.281, allocations: 192 / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2811, allocations: 4 kB / 435.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.2812, allocations: 173.6 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2812, allocations: 0 / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.2812, allocations: 12 kB / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2813, allocations: 7.875 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.2813, allocations: 0 / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2813, allocations: 0 / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2813, allocations: 4 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.2814, allocations: 105 kB / 436 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.2815, allocations: 100.9 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.2815, allocations: 4 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.2815, allocations: 0 / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-06/0.2815, allocations: 0 / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2815, allocations: 4 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.405e-05/0.2816, allocations: 102.1 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2816, allocations: 8 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001909/0.2818, allocations: 8 kB / 436.2 MB, free: 2.848 MB / 334.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: 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 0.0001186/0.2819, allocations: 103.2 kB / 436.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.282, allocations: 39.92 kB / 436.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.282, allocations: 4 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.282, allocations: 0 / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2823, allocations: 39.12 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.2827, allocations: 207.2 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.283, allocations: 0.6924 MB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.2831, allocations: 11.44 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2831, allocations: 0 / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Templates: time 0.002411/0.2855, allocations: 0.8127 MB / 438.1 MB, free: 0.875 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.609703077934682]