Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.007655/0.007655, allocations: 105.3 kB / 21.98 MB, free: 5.223 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.002008/0.002008, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.498/1.498, allocations: 230.6 MB / 259 MB, free: 8.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001982/0.001982, allocations: 64.77 kB / 379.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2947, allocations: 53.37 MB / 433.2 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002352/0.2971, allocations: 0.8607 MB / 434 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003821/0.2975, allocations: 123.6 kB / 434.1 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.2976, allocations: 7.938 kB / 434.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.937e-05/0.2977, allocations: 3.938 kB / 434.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.2978, allocations: 11.92 kB / 434.2 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.298, allocations: 35.91 kB / 434.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2981, allocations: 39.91 kB / 434.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2982, allocations: 19.98 kB / 434.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.2983, allocations: 19.88 kB / 434.3 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.2984, allocations: 27.84 kB / 434.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2984, allocations: 4 kB / 434.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.2984, allocations: 4 kB / 434.3 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.2984, allocations: 11.94 kB / 434.3 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.2985, allocations: 39.72 kB / 434.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2987, allocations: 60.95 kB / 434.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2987, allocations: 0 / 434.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2987, allocations: 0 / 434.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.2987, allocations: 0 / 434.4 MB, free: 5.676 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.0005413/0.2992, allocations: 306 kB / 434.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2992, allocations: 8.031 kB / 434.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.2993, allocations: 12.84 kB / 434.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.2995, allocations: 138.3 kB / 434.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2995, allocations: 8.375 kB / 434.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.2995, allocations: 4.375 kB / 434.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.2999, allocations: 147.7 kB / 435 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2999, allocations: 192 / 435 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2999, allocations: 7.938 kB / 435 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2999, allocations: 0 / 435 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/0.2999, allocations: 23.92 kB / 435.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.3001, allocations: 148.7 kB / 435.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3003, allocations: 66.72 kB / 435.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.3004, allocations: 44.88 kB / 435.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.3004, allocations: 0 / 435.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3004, allocations: 34.5 kB / 435.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 4.178e-06/0.3004, allocations: 3.984 kB / 435.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000233/0.3006, allocations: 109.7 kB / 435.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.3007, allocations: 59.41 kB / 435.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3009, allocations: 141.8 kB / 435.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.3009, allocations: 25.7 kB / 435.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.3009, allocations: 88.14 kB / 435.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.301, allocations: 7.953 kB / 435.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.301, allocations: 25.7 kB / 435.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3012, allocations: 318.8 kB / 436.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.3012, allocations: 11.92 kB / 436.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.3013, allocations: 66.81 kB / 436.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.3014, allocations: 74.73 kB / 436.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3014, allocations: 4 kB / 436.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001461/0.3015, allocations: 89.5 kB / 436.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3015, allocations: 12.19 kB / 436.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3015, allocations: 4 kB / 436.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3016, allocations: 4 kB / 436.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.3016, allocations: 15.94 kB / 436.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3016, allocations: 4 kB / 436.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.3017, allocations: 0 / 436.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.3017, allocations: 4.188 kB / 436.4 MB, free: 3.457 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: 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.0001195/0.3018, allocations: 137.7 kB / 436.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3019, allocations: 85.45 kB / 436.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.302, allocations: 24.7 kB / 436.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.302, allocations: 0 / 436.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.302, allocations: 4 kB / 436.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.302, allocations: 0 / 436.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3021, allocations: 144.7 kB / 436.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3021, allocations: 3.984 kB / 436.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.3022, allocations: 12 kB / 436.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3022, allocations: 3.938 kB / 436.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3022, allocations: 0 / 436.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3022, allocations: 0 / 436.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3022, allocations: 0 / 436.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3024, allocations: 121 kB / 436.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.3024, allocations: 15.94 kB / 436.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3024, allocations: 7.938 kB / 437 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.3025, allocations: 0 / 437 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-06/0.3025, allocations: 0 / 437 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.3025, allocations: 4 kB / 437 MB, free: 2.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.32e-05/0.3026, allocations: 113.9 kB / 437.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3026, allocations: 7.938 kB / 437.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002035/0.3028, allocations: 4 kB / 437.1 MB, free: 2.703 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: 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.0001298/0.3029, allocations: 103.2 kB / 437.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.3031, allocations: 43.86 kB / 437.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3031, allocations: 0 / 437.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.3031, allocations: 0.5 kB / 437.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3034, allocations: 51.98 kB / 437.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.3038, allocations: 203 kB / 437.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.3042, allocations: 0.6972 MB / 438.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.3042, allocations: 11.44 kB / 438.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3042, allocations: 0 / 438.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of Templates: time 0.002699/0.3069, allocations: 0.8894 MB / 439.1 MB, free: 0.6484 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.8408821418415755]