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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.619/1.619, allocations: 230.4 MB / 251.1 MB, free: 8.48 MB / 206.1 MB 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.002037/0.002037, allocations: 67.83 kB / 368.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3565, allocations: 53.32 MB / 422.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002492/0.359, allocations: 0.8426 MB / 423.1 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003807/0.3594, allocations: 115.6 kB / 423.2 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.3595, allocations: 4 kB / 423.2 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.3596, allocations: 3.938 kB / 423.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.3597, allocations: 19.91 kB / 423.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.3599, allocations: 31.91 kB / 423.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.3601, allocations: 47.84 kB / 423.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.3602, allocations: 15.98 kB / 423.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.3602, allocations: 19.88 kB / 423.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.3603, allocations: 27.78 kB / 423.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.3604, allocations: 4 kB / 423.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.3604, allocations: 8 kB / 423.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.3604, allocations: 19.92 kB / 423.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.3605, allocations: 23.81 kB / 423.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.3606, allocations: 63.25 kB / 423.5 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3607, allocations: 0 / 423.5 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3607, allocations: 0 / 423.5 MB, free: 6.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3607, allocations: 0 / 423.5 MB, free: 6.641 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.0006054/0.3613, allocations: 371.2 kB / 423.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3613, allocations: 8.031 kB / 423.9 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.3614, allocations: 16.84 kB / 423.9 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.3616, allocations: 204.1 kB / 424.1 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3616, allocations: 8.375 kB / 424.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3616, allocations: 4.375 kB / 424.1 MB, free: 5.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.362, allocations: 139.8 kB / 424.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.362, allocations: 8.188 kB / 424.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.362, allocations: 7.938 kB / 424.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.362, allocations: 3.938 kB / 424.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.365e-05/0.362, allocations: 19.98 kB / 424.3 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.3622, allocations: 169.7 kB / 424.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3624, allocations: 66.7 kB / 424.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.3625, allocations: 48.88 kB / 424.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3625, allocations: 3.938 kB / 424.6 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3625, allocations: 34.55 kB / 424.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.3625, allocations: 0 / 424.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002292/0.3628, allocations: 105.7 kB / 424.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.3628, allocations: 59.34 kB / 424.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.363, allocations: 141 kB / 424.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.363, allocations: 29.7 kB / 424.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.3631, allocations: 92.12 kB / 425 MB, free: 4.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3631, allocations: 3.953 kB / 425 MB, free: 4.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.3631, allocations: 25.72 kB / 425 MB, free: 4.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3633, allocations: 322.8 kB / 425.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.3633, allocations: 11.94 kB / 425.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.947e-05/0.3634, allocations: 66.86 kB / 425.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.573e-05/0.3635, allocations: 74.92 kB / 425.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3635, allocations: 4 kB / 425.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001352/0.3636, allocations: 89.45 kB / 425.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3637, allocations: 11.94 kB / 425.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3637, allocations: 0 / 425.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3637, allocations: 8.188 kB / 425.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.3638, allocations: 19.98 kB / 425.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3638, allocations: 4 kB / 425.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.3638, allocations: 3.938 kB / 425.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3638, allocations: 4 kB / 425.6 MB, free: 4.219 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.0001266/0.3639, allocations: 137 kB / 425.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3641, allocations: 77.58 kB / 425.9 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.3641, allocations: 12.72 kB / 425.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3641, allocations: 0 / 425.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3641, allocations: 4 kB / 425.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3641, allocations: 3.984 kB / 425.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3643, allocations: 177.6 kB / 426.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3643, allocations: 0 / 426.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.3643, allocations: 15.98 kB / 426.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.3643, allocations: 3.938 kB / 426.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.3644, allocations: 0 / 426.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3644, allocations: 3.938 kB / 426.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3644, allocations: 3.938 kB / 426.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.3645, allocations: 109.1 kB / 426.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.3646, allocations: 97.05 kB / 426.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.3646, allocations: 3.938 kB / 426.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.492e-05/0.3646, allocations: 4 kB / 426.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-06/0.3647, allocations: 4 kB / 426.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3647, allocations: 0 / 426.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.682e-05/0.3647, allocations: 107.2 kB / 426.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3647, allocations: 0 / 426.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002034/0.3649, allocations: 12 kB / 426.4 MB, free: 3.355 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.0001268/0.3651, allocations: 107.2 kB / 426.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.3652, allocations: 51.84 kB / 426.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3652, allocations: 0 / 426.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.3652, allocations: 0 / 426.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.3655, allocations: 47.98 kB / 426.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.3659, allocations: 177.8 kB / 426.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3662, allocations: 0.7002 MB / 427.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.611e-05/0.3663, allocations: 4.609 kB / 427.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.3663, allocations: 15.38 kB / 427.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3663, allocations: 0 / 427.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Templates: time 0.00367/0.37, allocations: 0.7146 MB / 428.2 MB, free: 1.484 MB / 334.1 MB 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/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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches