Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 118.6 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 207.7 kB / 19.4 MB, free: 3.645 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.399/1.399, allocations: 227.7 MB / 247.9 MB, free: 10.2 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.00189/0.00189, allocations: 59.89 kB / 359.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2444, allocations: 50.54 MB / 410.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002998/0.2474, allocations: 0.9568 MB / 411.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004483/0.2478, allocations: 115.6 kB / 411.3 MB, free: 440 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.333e-05/0.2479, allocations: 0 / 411.3 MB, free: 440 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.466e-05/0.248, allocations: 3.938 kB / 411.3 MB, free: 436 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.2481, allocations: 19.86 kB / 411.3 MB, free: 416 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.2484, allocations: 31.91 kB / 411.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.2485, allocations: 43.84 kB / 411.4 MB, free: 340 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2486, allocations: 20.17 kB / 411.4 MB, free: 316 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.2487, allocations: 11.94 kB / 411.4 MB, free: 304 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.2487, allocations: 23.86 kB / 411.4 MB, free: 280 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.2488, allocations: 4 kB / 411.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.2488, allocations: 4 kB / 411.4 MB, free: 272 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.2488, allocations: 15.92 kB / 411.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.2489, allocations: 27.8 kB / 411.5 MB, free: 228 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.249, allocations: 55.55 kB / 411.5 MB, free: 176 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.249, allocations: 4 kB / 411.5 MB, free: 172 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.249, allocations: 0 / 411.5 MB, free: 172 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2491, allocations: 0 / 411.5 MB, free: 172 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.0005737/0.2496, allocations: 371.2 kB / 411.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2497, allocations: 8.031 kB / 411.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.2497, allocations: 16.84 kB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.25, allocations: 196.2 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2501, allocations: 8.375 kB / 412.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.2501, allocations: 4.375 kB / 412.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.2504, allocations: 131.8 kB / 412.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2504, allocations: 7.875 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.2505, allocations: 0 / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2505, allocations: 3.938 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.2505, allocations: 12 kB / 412.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.2507, allocations: 181.6 kB / 412.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.2509, allocations: 58.77 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.251, allocations: 32.84 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.251, allocations: 3.938 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.2511, allocations: 38.56 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.2511, allocations: 0 / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002561/0.2513, allocations: 89.72 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.2514, allocations: 59.34 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.2516, allocations: 141.1 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2516, allocations: 25.7 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.2516, allocations: 88.12 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.2517, allocations: 8 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.2517, allocations: 17.72 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2519, allocations: 322.8 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.2519, allocations: 7.938 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-05/0.252, allocations: 62.86 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2521, allocations: 74.75 kB / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2521, allocations: 0 / 413.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001985/0.2523, allocations: 85.5 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.2524, allocations: 12.19 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.2524, allocations: 11.98 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2524, allocations: 7.938 kB / 413.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2525, allocations: 12 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2525, allocations: 4 kB / 413.6 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.2526, allocations: 7.953 kB / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2526, allocations: 7.938 kB / 413.6 MB, free: 13.82 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: 0 () * 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.0001308/0.2527, allocations: 129.7 kB / 413.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.2529, allocations: 73.89 kB / 413.8 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.2529, allocations: 16.72 kB / 413.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2529, allocations: 0 / 413.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2529, allocations: 0 / 413.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.2529, allocations: 0 / 413.8 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.2531, allocations: 177.8 kB / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2531, allocations: 0 / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.2532, allocations: 11.94 kB / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.2532, allocations: 7.938 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2532, allocations: 0 / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2532, allocations: 80 / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.2532, allocations: 7.922 kB / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.2534, allocations: 105.1 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2535, allocations: 96.92 kB / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.2535, allocations: 8 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.2535, allocations: 0 / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-06/0.2535, allocations: 0 / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2535, allocations: 0 / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.2536, allocations: 103.3 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2537, allocations: 0 / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.254, 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: 0 () * 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.0001295/0.2541, allocations: 103.2 kB / 414.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.2543, allocations: 47.84 kB / 414.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2543, allocations: 0 / 414.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.2543, allocations: 0 / 414.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.2547, allocations: 40 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.2551, allocations: 162.1 kB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.2555, allocations: 0.7039 MB / 415.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.138e-05/0.2555, allocations: 7.953 kB / 415.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.2556, allocations: 15.42 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2556, allocations: 0 / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Templates: time 0.004234/0.2598, allocations: 0.6267 MB / 416 MB, free: 11.22 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches