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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 206.7 kB / 19.41 MB, free: 3.664 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.425/1.425, allocations: 227.7 MB / 247.9 MB, free: 10.24 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.001863/0.001863, allocations: 63.88 kB / 359.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2447, allocations: 50.55 MB / 410.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002176/0.2468, allocations: 0.839 MB / 411 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000366/0.2472, allocations: 115.6 kB / 411.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.2473, allocations: 4 kB / 411.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.997e-05/0.2474, allocations: 7.922 kB / 411.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2475, allocations: 7.922 kB / 411.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.2477, allocations: 39.91 kB / 411.2 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.2478, allocations: 43.89 kB / 411.3 MB, free: 452 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2479, allocations: 16 kB / 411.3 MB, free: 436 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.248, allocations: 27.73 kB / 411.3 MB, free: 408 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.248, allocations: 19.92 kB / 411.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2481, allocations: 8 kB / 411.3 MB, free: 380 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.2481, allocations: 4 kB / 411.3 MB, free: 376 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.2481, allocations: 15.92 kB / 411.3 MB, free: 360 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.2482, allocations: 27.81 kB / 411.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2483, allocations: 59.53 kB / 411.4 MB, free: 276 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2483, allocations: 0 / 411.4 MB, free: 276 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2483, allocations: 0 / 411.4 MB, free: 276 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2483, allocations: 0 / 411.4 MB, free: 276 kB / 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.0005131/0.2488, allocations: 383.1 kB / 411.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2489, allocations: 8.031 kB / 411.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.2489, allocations: 16.84 kB / 411.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.2491, allocations: 204.1 kB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2491, allocations: 4.375 kB / 412 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2491, allocations: 8.375 kB / 412 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.2494, allocations: 135.8 kB / 412.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2494, allocations: 192 / 412.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2494, allocations: 3.938 kB / 412.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2495, allocations: 4 kB / 412.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.087e-05/0.2495, allocations: 27.92 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.2497, allocations: 169.6 kB / 412.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.2498, allocations: 66.72 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.2499, allocations: 52.84 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2499, allocations: 7.938 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.2499, allocations: 30.56 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.2499, allocations: 0 / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002148/0.2502, allocations: 101.6 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.2502, allocations: 55.56 kB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.2504, allocations: 149 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.2504, allocations: 25.7 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.2504, allocations: 96.12 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.2504, allocations: 0 / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.2505, allocations: 29.7 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2506, allocations: 318.8 kB / 413.3 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.2507, allocations: 11.92 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.2507, allocations: 62.81 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.2508, allocations: 82.73 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2508, allocations: 0 / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001306/0.251, allocations: 89.45 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.251, allocations: 11.92 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.251, allocations: 4 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.251, allocations: 4.25 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.2511, allocations: 23.94 kB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2511, allocations: 0 / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.53e-05/0.2511, allocations: 7.938 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.2511, allocations: 4 kB / 413.6 MB, free: 13.84 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.000112/0.2512, allocations: 133.7 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2513, allocations: 85.53 kB / 413.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/0.2514, allocations: 16.7 kB / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2514, allocations: 0 / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2514, allocations: 4 kB / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2514, allocations: 0 / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.2515, allocations: 169.7 kB / 414 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2515, allocations: 0 / 414 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.2516, allocations: 11.98 kB / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.351e-06/0.2516, allocations: 7.938 kB / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2516, allocations: 4 kB / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2516, allocations: 0 / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2516, allocations: 0 / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.2517, allocations: 117 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.2518, allocations: 97.05 kB / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.2518, allocations: 3.938 kB / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.2519, allocations: 0 / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.2519, allocations: 0 / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.2519, allocations: 4 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.562e-05/0.2519, allocations: 107.2 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2519, allocations: 0 / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.2521, allocations: 12 kB / 414.3 MB, free: 12.98 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.0001211/0.2523, allocations: 103.2 kB / 414.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.2524, allocations: 55.83 kB / 414.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2524, allocations: 3.938 kB / 414.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2524, allocations: 0 / 414.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.2527, allocations: 45.31 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.253, allocations: 182 kB / 414.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.2533, allocations: 0.6924 MB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.083e-05/0.2534, allocations: 16.59 kB / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.2534, allocations: 15.38 kB / 415.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2534, allocations: 0 / 415.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Templates: time 0.003329/0.2567, allocations: 0.6973 MB / 416.1 MB, free: 11.12 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches