Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 163 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 47.83 kB / 325.6 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09536, allocations: 53.35 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00224/0.0976, allocations: 0.8425 MB / 379.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003726/0.09797, allocations: 119.6 kB / 379.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.09806, allocations: 7.938 kB / 379.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.249e-05/0.09815, allocations: 7.922 kB / 379.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.09829, allocations: 7.938 kB / 379.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.09849, allocations: 39.84 kB / 379.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.0986, allocations: 39.91 kB / 380 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.09871, allocations: 19.98 kB / 380 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.691e-05/0.09875, allocations: 19.92 kB / 380 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.086e-05/0.09882, allocations: 15.86 kB / 380 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.09884, allocations: 7.938 kB / 380 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.09885, allocations: 8 kB / 380 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.0989, allocations: 15.92 kB / 380.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.09895, allocations: 27.86 kB / 380.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.09907, allocations: 59.62 kB / 380.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.09908, allocations: 3.938 kB / 380.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09908, allocations: 0 / 380.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.09908, allocations: 0 / 380.1 MB, free: 14.48 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.0004558/0.09954, allocations: 310 kB / 380.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.09957, allocations: 8.031 kB / 380.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.09961, allocations: 12.84 kB / 380.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.09982, allocations: 146.3 kB / 380.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.09983, allocations: 384 / 380.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.09984, allocations: 4.375 kB / 380.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.1001, allocations: 151.7 kB / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1001, allocations: 192 / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1002, allocations: 3.938 kB / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1002, allocations: 4 kB / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.1002, allocations: 27.92 kB / 380.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.1003, allocations: 113.3 kB / 380.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1005, allocations: 66.75 kB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.1006, allocations: 44.84 kB / 381 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.1006, allocations: 0 / 381 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1006, allocations: 38.5 kB / 381.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.1006, allocations: 0 / 381.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002134/0.1008, allocations: 105.7 kB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1009, allocations: 55.41 kB / 381.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.101, allocations: 152.9 kB / 381.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.101, allocations: 25.7 kB / 381.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.1011, allocations: 88.14 kB / 381.5 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.1011, allocations: 0 / 381.5 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.1011, allocations: 29.7 kB / 381.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1013, allocations: 322.8 kB / 381.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.1013, allocations: 4 kB / 381.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.1014, allocations: 66.8 kB / 381.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.1015, allocations: 74.75 kB / 382 MB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1015, allocations: 0 / 382 MB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001363/0.1016, allocations: 93.5 kB / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1016, allocations: 8.188 kB / 382.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1016, allocations: 8 kB / 382.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1017, allocations: 3.938 kB / 382.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.1017, allocations: 20.12 kB / 382.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1017, allocations: 4.297 kB / 382.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.1018, allocations: 7.938 kB / 382.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1018, allocations: 4 kB / 382.1 MB, free: 12.29 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.0001072/0.1019, allocations: 121.8 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.102, allocations: 93.5 kB / 382.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.1021, allocations: 12.72 kB / 382.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1021, allocations: 8 kB / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1021, allocations: 0 / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1021, allocations: 0 / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.968e-05/0.1022, allocations: 121.2 kB / 382.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1022, allocations: 0 / 382.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.1022, allocations: 12 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1022, allocations: 0 / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.1023, allocations: 0 / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1023, allocations: 7.938 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1023, allocations: 0 / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1024, allocations: 113 kB / 382.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.1025, allocations: 23.94 kB / 382.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1025, allocations: 0 / 382.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.1025, allocations: 7.938 kB / 382.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-06/0.1025, allocations: 0 / 382.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1025, allocations: 4 kB / 382.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.039e-05/0.1026, allocations: 107.2 kB / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1026, allocations: 0 / 382.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.1028, allocations: 8 kB / 382.7 MB, free: 11.6 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.000101/0.1029, allocations: 99.25 kB / 382.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.103, allocations: 51.86 kB / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.103, allocations: 0 / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.103, allocations: 3.938 kB / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1033, allocations: 55.08 kB / 382.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.1036, allocations: 177.3 kB / 383.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.624e-05/0.1037, allocations: 79.33 kB / 383.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.08e-05/0.1037, allocations: 9.234 kB / 383.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.1038, allocations: 16.48 kB / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1038, allocations: 0 / 383.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Templates: time 0.003348/0.1071, allocations: 0.7674 MB / 384 MB, free: 10.3 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 4.316046747029759]