Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2568, allocations: 50.55 MB / 409.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001966/0.2588, allocations: 0.8394 MB / 410.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.2591, allocations: 115.6 kB / 410.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.2592, allocations: 0 / 410.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.521e-05/0.2593, allocations: 11.88 kB / 410.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.2594, allocations: 7.938 kB / 410.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.2596, allocations: 39.89 kB / 410.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2598, allocations: 43.91 kB / 411 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2599, allocations: 16 kB / 411 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.402e-05/0.2599, allocations: 23.86 kB / 411 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.26, allocations: 19.91 kB / 411 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.26, allocations: 4 kB / 411 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.2601, allocations: 4 kB / 411 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.2601, allocations: 23.92 kB / 411.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.702e-05/0.2602, allocations: 27.75 kB / 411.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2603, allocations: 63.73 kB / 411.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2603, allocations: 0 / 411.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2603, allocations: 0 / 411.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2603, allocations: 0 / 411.2 MB, free: 0.5234 MB / 318.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.0004253/0.2607, allocations: 384.3 kB / 411.5 MB, free: 100 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2608, allocations: 8.031 kB / 411.5 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.2608, allocations: 12.84 kB / 411.6 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.261, allocations: 196.1 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.261, allocations: 8.375 kB / 411.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.261, allocations: 4.375 kB / 411.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.2613, allocations: 143.7 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2613, allocations: 192 / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2613, allocations: 3.938 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2613, allocations: 4 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.2614, allocations: 19.98 kB / 411.9 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.2615, allocations: 173.6 kB / 412.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.2617, allocations: 78.69 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/0.2618, allocations: 40.84 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.2618, allocations: 0 / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2618, allocations: 42.56 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.2618, allocations: 0 / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001933/0.262, allocations: 105.7 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.2621, allocations: 59.25 kB / 412.4 MB, free: 15.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.2622, allocations: 145.8 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2622, allocations: 25.7 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.2622, allocations: 84.14 kB / 412.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.2623, allocations: 8 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.2623, allocations: 33.61 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2624, allocations: 310.8 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.2625, allocations: 15.98 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.58e-05/0.2625, allocations: 51.19 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.57e-05/0.2626, allocations: 82.73 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2626, allocations: 0 / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001286/0.2627, allocations: 97.47 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2627, allocations: 10.59 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2628, allocations: 4.188 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.2628, allocations: 3.938 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.2628, allocations: 15.94 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2629, allocations: 8.234 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.2629, allocations: 15.91 kB / 413.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2629, allocations: 4 kB / 413.3 MB, free: 14.09 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 9.525e-05/0.263, allocations: 133.6 kB / 413.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/0.2631, allocations: 81.53 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.2632, allocations: 16.7 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2632, allocations: 0 / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2632, allocations: 0 / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2632, allocations: 4 kB / 413.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.2633, allocations: 173.6 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2633, allocations: 0 / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.514e-05/0.2634, allocations: 15.94 kB / 413.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2634, allocations: 3.938 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.006e-06/0.2634, allocations: 4 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2634, allocations: 4 kB / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2634, allocations: 0 / 413.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.2635, allocations: 113 kB / 413.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.2636, allocations: 93 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.2636, allocations: 7.938 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.2637, allocations: 4 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.2637, allocations: 0 / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.2637, allocations: 0 / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.067e-05/0.2638, allocations: 111.2 kB / 414.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2638, allocations: 0 / 414.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.264, allocations: 8 kB / 414.1 MB, free: 13.23 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 9.085e-05/0.2641, allocations: 107.2 kB / 414.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.2642, allocations: 47.91 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2642, allocations: 0 / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.2642, allocations: 0 / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.2645, allocations: 51.89 kB / 414.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.2648, allocations: 207.1 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.2651, allocations: 0.7007 MB / 415.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.2651, allocations: 11.44 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2651, allocations: 0 / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Templates: time 0.002105/0.2672, allocations: 0.8925 MB / 416.1 MB, free: 11.15 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches