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.001733/0.001733, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.002556/0.002556, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.797 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+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.002603/0.002603, allocations: 47.92 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2924, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002568/0.295, allocations: 0.8549 MB / 432.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004196/0.2954, allocations: 123.6 kB / 432.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.2955, allocations: 7.938 kB / 432.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2956, allocations: 3.938 kB / 432.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2958, allocations: 15.92 kB / 432.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.296, allocations: 31.91 kB / 432.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.2961, allocations: 43.84 kB / 432.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.2963, allocations: 15.98 kB / 432.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.2963, allocations: 15.94 kB / 432.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.399e-05/0.2964, allocations: 23.8 kB / 432.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2964, allocations: 4 kB / 432.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.2964, allocations: 4 kB / 432.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.2965, allocations: 23.91 kB / 432.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.2965, allocations: 23.86 kB / 432.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.2967, allocations: 65.92 kB / 432.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2967, allocations: 0 / 432.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2967, allocations: 0 / 432.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2967, allocations: 0 / 432.8 MB, free: 5.488 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.0005195/0.2972, allocations: 298 kB / 433.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2973, allocations: 8.031 kB / 433.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.2973, allocations: 16.84 kB / 433.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.2976, allocations: 146.3 kB / 433.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2976, allocations: 4.375 kB / 433.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.2976, allocations: 4.375 kB / 433.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.2979, allocations: 135.9 kB / 433.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2979, allocations: 4.172 kB / 433.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2979, allocations: 3.938 kB / 433.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2979, allocations: 0 / 433.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.878e-05/0.298, allocations: 23.92 kB / 433.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.2982, allocations: 129.2 kB / 433.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.2983, allocations: 66.7 kB / 433.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.171e-05/0.2984, allocations: 40.89 kB / 433.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-06/0.2984, allocations: 0 / 433.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.2985, allocations: 42.48 kB / 433.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 7.92e-07/0.2985, allocations: 0 / 433.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002537/0.2987, allocations: 105.7 kB / 433.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.2988, allocations: 55.41 kB / 433.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.2989, allocations: 144.4 kB / 434 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.2989, allocations: 25.7 kB / 434 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.299, allocations: 96.12 kB / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.299, allocations: 0 / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.2991, allocations: 29.66 kB / 434.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2992, allocations: 318.8 kB / 434.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.2993, allocations: 11.94 kB / 434.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.2993, allocations: 58.86 kB / 434.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.929e-05/0.2994, allocations: 78.73 kB / 434.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2994, allocations: 0 / 434.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001413/0.2996, allocations: 89.52 kB / 434.7 MB, free: 3.367 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2996, allocations: 4 kB / 434.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2996, allocations: 4.25 kB / 434.7 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.2996, allocations: 7.938 kB / 434.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.2997, allocations: 23.92 kB / 434.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2997, allocations: 0 / 434.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.2997, allocations: 8 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.2998, allocations: 4 kB / 434.8 MB, free: 3.316 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.0001244/0.2999, allocations: 129.7 kB / 434.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3, allocations: 85.91 kB / 435 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.3, allocations: 12.66 kB / 435 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3, allocations: 4 kB / 435 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.3, allocations: 15.92 kB / 435 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3, allocations: 0 / 435 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.097e-05/0.3001, allocations: 113.3 kB / 435.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3001, allocations: 0 / 435.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.3002, allocations: 15.98 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3002, allocations: 0 / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3002, allocations: 4 kB / 435.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3002, allocations: 3.938 kB / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3002, allocations: 0 / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.3004, allocations: 117 kB / 435.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.3004, allocations: 15.95 kB / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3004, allocations: 4 kB / 435.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.724e-05/0.3005, allocations: 7.922 kB / 435.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-06/0.3005, allocations: 4 kB / 435.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3005, allocations: 4 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.497e-05/0.3006, allocations: 103.3 kB / 435.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3006, allocations: 0 / 435.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.3008, allocations: 8 kB / 435.4 MB, free: 2.613 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.0001133/0.3009, allocations: 107.4 kB / 435.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.301, allocations: 51.86 kB / 435.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.301, allocations: 3.938 kB / 435.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-07/0.301, allocations: 0 / 435.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3013, allocations: 46.06 kB / 435.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.3016, allocations: 179.5 kB / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.3017, allocations: 79.31 kB / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.765e-05/0.3017, allocations: 9.172 kB / 435.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.3017, allocations: 11.44 kB / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3017, allocations: 0 / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of Templates: time 0.003374/0.3051, allocations: 0.7925 MB / 436.7 MB, free: 1.305 MB / 334.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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.617278899997473]