Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 99.16 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 194.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 8 kB / 307.1 MB, free: 1.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 51.53 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001572/0.1205, allocations: 0.6465 MB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004342/0.121, allocations: 123.7 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.1211, allocations: 3.938 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.1212, allocations: 3.938 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.1213, allocations: 15.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1216, allocations: 23.98 kB / 359.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.729e-05/0.1217, allocations: 31.86 kB / 359.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1218, allocations: 24.14 kB / 359.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.1219, allocations: 15.94 kB / 359.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.1219, allocations: 15.92 kB / 359.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.122, allocations: 0 / 359.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.122, allocations: 0 / 359.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.122, allocations: 15.92 kB / 359.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.1221, allocations: 37.64 kB / 359.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.48e-05/0.1222, allocations: 35.92 kB / 359.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1222, allocations: 4 kB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1222, allocations: 3.938 kB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1222, allocations: 0 / 359.6 MB, free: 12.64 MB / 302.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.0004545/0.1227, allocations: 363.3 kB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1227, allocations: 8.031 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.1228, allocations: 7.906 kB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.123, allocations: 194.8 kB / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.123, allocations: 3.938 kB / 360.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.123, allocations: 8 kB / 360.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.1234, allocations: 131.2 kB / 360.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1234, allocations: 0 / 360.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1234, allocations: 3.984 kB / 360.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1234, allocations: 0 / 360.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.191e-05/0.1235, allocations: 16 kB / 360.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.1236, allocations: 173.6 kB / 360.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1238, allocations: 70.66 kB / 360.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/0.1239, allocations: 36.89 kB / 360.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.1239, allocations: 4 kB / 360.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1239, allocations: 34.52 kB / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.1239, allocations: 0 / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002111/0.1241, allocations: 93.89 kB / 360.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.1242, allocations: 55.41 kB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1244, allocations: 134 kB / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1244, allocations: 37.7 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.1245, allocations: 84.14 kB / 361.1 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.1245, allocations: 3.906 kB / 361.1 MB, free: 11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.1245, allocations: 0 / 361.1 MB, free: 11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1247, allocations: 322.8 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.1247, allocations: 11.94 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.1248, allocations: 62.8 kB / 361.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.163e-05/0.1248, allocations: 16 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1248, allocations: 0 / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001385/0.125, allocations: 89.5 kB / 361.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.125, allocations: 10.45 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.125, allocations: 7.984 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.125, allocations: 8 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.1251, allocations: 12 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1251, allocations: 192 / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.1252, allocations: 11.84 kB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1252, allocations: 8.188 kB / 361.6 MB, free: 10.41 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.1253, allocations: 129.8 kB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.1254, allocations: 69.59 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.1255, allocations: 16.67 kB / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1255, allocations: 0 / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1255, allocations: 0 / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1255, allocations: 0 / 361.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1256, allocations: 173.6 kB / 362 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1256, allocations: 4 kB / 362 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.1257, allocations: 11.94 kB / 362 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1257, allocations: 4 kB / 362 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1257, allocations: 4 kB / 362 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1257, allocations: 3.953 kB / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1257, allocations: 0 / 362 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.1259, allocations: 101 kB / 362.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.126, allocations: 93 kB / 362.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.126, allocations: 3.984 kB / 362.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.861e-05/0.126, allocations: 4 kB / 362.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-06/0.126, allocations: 7.953 kB / 362.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.126, allocations: 0 / 362.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.319e-05/0.1261, allocations: 103.3 kB / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1261, allocations: 0 / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000208/0.1263, allocations: 12 kB / 362.3 MB, free: 9.586 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001233/0.1265, allocations: 95.19 kB / 362.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.1266, allocations: 48.36 kB / 362.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1266, allocations: 3.938 kB / 362.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.1266, allocations: 0 / 362.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1269, allocations: 39.95 kB / 362.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.1273, allocations: 187.3 kB / 362.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1275, allocations: 0.6977 MB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.1276, allocations: 7.953 kB / 363.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.1276, allocations: 7.438 kB / 363.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1276, allocations: 0 / 363.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of Templates: time 0.002972/0.1306, allocations: 0.5476 MB / 364 MB, free: 7.895 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches