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.001468/0.001468, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001542/0.001542, allocations: 203.8 kB / 23.73 MB, free: 4.379 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001557/0.001557, allocations: 47.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2926, 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.002446/0.295, allocations: 0.8519 MB / 432.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.2954, allocations: 123.5 kB / 432.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.2955, allocations: 3.938 kB / 432.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.84e-05/0.2956, allocations: 3.938 kB / 432.5 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.2957, allocations: 15.86 kB / 432.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.2959, allocations: 39.95 kB / 432.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.296, allocations: 39.8 kB / 432.6 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2962, allocations: 19.97 kB / 432.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.2962, allocations: 15.94 kB / 432.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.2963, allocations: 31.84 kB / 432.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.2963, allocations: 0 / 432.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.2963, allocations: 4 kB / 432.7 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.2964, allocations: 19.94 kB / 432.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.2964, allocations: 19.86 kB / 432.7 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.2966, allocations: 61.92 kB / 432.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2966, allocations: 0 / 432.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2966, allocations: 0 / 432.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.2966, allocations: 4 kB / 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.0005165/0.2971, allocations: 298 kB / 433.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2971, allocations: 12.03 kB / 433.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.2972, allocations: 16.84 kB / 433.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.2974, allocations: 146.3 kB / 433.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2974, allocations: 4.375 kB / 433.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.2974, allocations: 4.375 kB / 433.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.2977, allocations: 135.8 kB / 433.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2978, allocations: 4.125 kB / 433.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2978, allocations: 11.94 kB / 433.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2978, allocations: 0 / 433.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/0.2978, allocations: 23.98 kB / 433.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.298, allocations: 113.3 kB / 433.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.2982, allocations: 82.62 kB / 433.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.2983, allocations: 40.88 kB / 433.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.2983, allocations: 4 kB / 433.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2983, allocations: 30.56 kB / 433.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2983, allocations: 0 / 433.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002297/0.2985, allocations: 101.7 kB / 433.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.2986, allocations: 63.39 kB / 433.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2987, allocations: 144.3 kB / 434 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.2987, allocations: 33.64 kB / 434.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.2988, allocations: 88.12 kB / 434.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.2988, allocations: 0 / 434.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.2989, allocations: 29.7 kB / 434.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.299, allocations: 318.8 kB / 434.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.299, allocations: 8 kB / 434.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.968e-05/0.2991, allocations: 62.8 kB / 434.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.2992, allocations: 78.73 kB / 434.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.2992, allocations: 4 kB / 434.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001416/0.2993, allocations: 93.67 kB / 434.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2994, allocations: 8 kB / 434.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2994, allocations: 0 / 434.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.2994, allocations: 7.938 kB / 434.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.2995, allocations: 15.98 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2995, allocations: 4 kB / 434.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.2995, allocations: 0 / 434.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2995, allocations: 7.938 kB / 434.8 MB, free: 3.309 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.0001258/0.2996, allocations: 141.6 kB / 434.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.2998, allocations: 77.62 kB / 435 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.2998, allocations: 24.64 kB / 435 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.2998, allocations: 0 / 435 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2998, allocations: 0 / 435 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2998, allocations: 3.984 kB / 435 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.2999, allocations: 117.3 kB / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2999, allocations: 0 / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/0.3, allocations: 19.92 kB / 435.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3, allocations: 0 / 435.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3, allocations: 0 / 435.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3, allocations: 3.938 kB / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3, allocations: 0 / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.3002, allocations: 113.1 kB / 435.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.3002, allocations: 11.95 kB / 435.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.3002, allocations: 7.984 kB / 435.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.548e-05/0.3003, allocations: 7.938 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-06/0.3003, allocations: 0 / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3003, allocations: 4 kB / 435.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.585e-05/0.3004, allocations: 107.3 kB / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3004, allocations: 0 / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.3006, allocations: 4 kB / 435.4 MB, free: 2.609 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.0001154/0.3007, allocations: 115.2 kB / 435.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.3008, allocations: 43.91 kB / 435.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3008, allocations: 4 kB / 435.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.3008, allocations: 192 / 435.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.3011, allocations: 56.94 kB / 435.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.3015, allocations: 180.8 kB / 435.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.67e-05/0.3016, allocations: 88.52 kB / 435.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.704e-05/0.3016, allocations: 8.672 kB / 435.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.3016, allocations: 7.438 kB / 435.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3016, allocations: 3.938 kB / 435.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Templates: time 0.004231/0.3059, allocations: 0.7925 MB / 436.7 MB, free: 1.281 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.733136194758117]