Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001738/0.001738, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002196/0.002196, allocations: 209.3 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 63.91 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2555, allocations: 53.41 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002407/0.2579, allocations: 0.9547 MB / 433.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003379/0.2582, allocations: 111.6 kB / 433.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.2583, allocations: 7.875 kB / 433.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.2584, allocations: 3.938 kB / 433.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.2585, allocations: 11.92 kB / 433.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.2587, allocations: 39.91 kB / 433.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.2588, allocations: 39.91 kB / 433.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.471e-05/0.2589, allocations: 19.12 kB / 433.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.2589, allocations: 19.86 kB / 433.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.2589, allocations: 15.92 kB / 433.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2589, allocations: 7.938 kB / 433.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.259, allocations: 4 kB / 433.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.259, allocations: 11.98 kB / 433.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.259, allocations: 27.75 kB / 433.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2591, allocations: 51.45 kB / 433.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2592, allocations: 0 / 433.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2592, allocations: 3.938 kB / 433.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2592, allocations: 4 kB / 433.7 MB, free: 5.215 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.0004702/0.2596, allocations: 298.1 kB / 434 MB, free: 4.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2597, allocations: 11.98 kB / 434 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.2597, allocations: 12.84 kB / 434 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.2599, allocations: 134.4 kB / 434.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2599, allocations: 4.375 kB / 434.2 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.2599, allocations: 8.375 kB / 434.2 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.2602, allocations: 135.7 kB / 434.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2602, allocations: 3.938 kB / 434.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.2602, allocations: 0 / 434.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2602, allocations: 0 / 434.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.2603, allocations: 19.98 kB / 434.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.2604, allocations: 125.2 kB / 434.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.2606, allocations: 58.66 kB / 434.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.2606, allocations: 36.89 kB / 434.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.2606, allocations: 0 / 434.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2607, allocations: 42.56 kB / 434.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.2607, allocations: 0 / 434.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002046/0.2609, allocations: 89.52 kB / 434.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.2609, allocations: 55.41 kB / 434.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2611, allocations: 136.5 kB / 434.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2611, allocations: 29.7 kB / 434.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.2611, allocations: 92.12 kB / 435 MB, free: 3.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.2611, allocations: 3.938 kB / 435 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.2612, allocations: 21.72 kB / 435 MB, free: 3.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.2614, allocations: 318.8 kB / 435.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.148e-05/0.2614, allocations: 12 kB / 435.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.2615, allocations: 70.73 kB / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.2616, allocations: 66.81 kB / 435.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2616, allocations: 0 / 435.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001336/0.2617, allocations: 97.44 kB / 435.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2617, allocations: 8 kB / 435.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2617, allocations: 3.938 kB / 435.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2617, allocations: 4 kB / 435.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.2618, allocations: 15.94 kB / 435.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2618, allocations: 4 kB / 435.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.2619, allocations: 3.953 kB / 435.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2619, allocations: 8.25 kB / 435.6 MB, free: 3.102 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.0001404/0.262, allocations: 121.8 kB / 435.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2621, allocations: 81.72 kB / 435.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.2621, allocations: 16.66 kB / 435.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2621, allocations: 0 / 435.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2622, allocations: 7.938 kB / 435.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2622, allocations: 0 / 435.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.788e-05/0.2623, allocations: 113.3 kB / 435.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2623, allocations: 0 / 435.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.2623, allocations: 12 kB / 436 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2623, allocations: 0 / 436 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.2623, allocations: 4 kB / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2623, allocations: 3.938 kB / 436 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2623, allocations: 0 / 436 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.2624, allocations: 105 kB / 436.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.2625, allocations: 19.88 kB / 436.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2625, allocations: 0 / 436.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.409e-05/0.2625, allocations: 11.94 kB / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-06/0.2625, allocations: 0 / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2625, allocations: 0 / 436.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.812e-05/0.2626, allocations: 107.2 kB / 436.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2626, allocations: 0 / 436.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001928/0.2628, allocations: 12 kB / 436.2 MB, free: 2.43 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.0001097/0.2629, allocations: 91.25 kB / 436.3 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.263, allocations: 40.39 kB / 436.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.263, allocations: 4 kB / 436.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.263, allocations: 192 / 436.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2633, allocations: 50.62 kB / 436.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.2636, allocations: 191.1 kB / 436.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.06e-05/0.2637, allocations: 91.94 kB / 436.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.2637, allocations: 11.44 kB / 436.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2637, allocations: 0 / 436.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of Templates: time 0.002275/0.266, allocations: 0.8184 MB / 437.5 MB, free: 1.082 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.837302916683257]