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.001256/0.001256, allocations: 94.95 kB / 16.99 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 201.1 kB / 17.9 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.2 MB / 245.9 MB, free: 10.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 8 kB / 306.6 MB, free: 1.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 51.49 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001302/0.1242, allocations: 0.6463 MB / 358.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.1245, allocations: 119.6 kB / 358.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.1246, allocations: 4 kB / 358.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.1246, allocations: 7.938 kB / 358.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.1248, allocations: 3.984 kB / 358.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.125, allocations: 39.84 kB / 358.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.1251, allocations: 23.97 kB / 358.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.1252, allocations: 20.16 kB / 358.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.393e-05/0.1252, allocations: 15.92 kB / 358.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.1253, allocations: 11.88 kB / 359 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1253, allocations: 4 kB / 359 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.1253, allocations: 4 kB / 359 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.1254, allocations: 15.92 kB / 359 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.1254, allocations: 33.7 kB / 359 MB, free: 13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.195e-05/0.1255, allocations: 35.92 kB / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1255, allocations: 0 / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.1255, allocations: 4 kB / 359.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1255, allocations: 0 / 359.1 MB, free: 12.96 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.0004156/0.1259, allocations: 367.2 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.126, allocations: 8.031 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.126, allocations: 11.91 kB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.1262, allocations: 190.9 kB / 359.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.1262, allocations: 0 / 359.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1262, allocations: 4 kB / 359.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1265, allocations: 127.2 kB / 359.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1265, allocations: 0 / 359.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1265, allocations: 15.92 kB / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1265, allocations: 0 / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.093e-05/0.1266, allocations: 15.98 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1268, allocations: 169.6 kB / 359.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1269, allocations: 70.64 kB / 360 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1269, allocations: 4 kB / 360 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1269, allocations: 38.52 kB / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1269, allocations: 0 / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001832/0.1271, allocations: 85.62 kB / 360.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1272, allocations: 59.41 kB / 360.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.1273, allocations: 134 kB / 360.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1273, allocations: 25.7 kB / 360.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.1274, allocations: 84.14 kB / 360.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.1274, allocations: 11.83 kB / 360.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-06/0.1275, allocations: 12 kB / 360.5 MB, free: 11.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1276, allocations: 310.8 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.1276, allocations: 8 kB / 360.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.1277, allocations: 58.8 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.1277, allocations: 20 kB / 360.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1277, allocations: 0 / 360.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001152/0.1278, allocations: 89.73 kB / 360.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1279, allocations: 14.61 kB / 360.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1279, allocations: 4 kB / 360.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1279, allocations: 4 kB / 361 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.128, allocations: 15.94 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.128, allocations: 0 / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.128, allocations: 11.89 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.128, allocations: 8 kB / 361 MB, free: 10.78 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 9.929e-05/0.1281, allocations: 120.2 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.1282, allocations: 77.98 kB / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.1283, allocations: 20.67 kB / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1283, allocations: 0 / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1283, allocations: 0 / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1283, allocations: 0 / 361.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.1284, allocations: 173.6 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1284, allocations: 4 kB / 361.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.1285, allocations: 11.94 kB / 361.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1285, allocations: 0 / 361.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1285, allocations: 8 kB / 361.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1285, allocations: 7.938 kB / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1285, allocations: 0 / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.1287, allocations: 105 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1287, allocations: 93 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1288, allocations: 4 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.1288, allocations: 8 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-06/0.1288, allocations: 3.953 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1288, allocations: 0 / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.398e-05/0.1289, allocations: 107.2 kB / 361.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1289, allocations: 4 kB / 361.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001953/0.1291, allocations: 8 kB / 361.7 MB, free: 9.941 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.0001169/0.1292, allocations: 95.25 kB / 361.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1293, allocations: 39.92 kB / 361.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1293, allocations: 0 / 361.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.1293, allocations: 3.938 kB / 361.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.1296, allocations: 36.52 kB / 361.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.1299, allocations: 183.6 kB / 362.1 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1302, allocations: 0.6965 MB / 362.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.1303, allocations: 15.89 kB / 362.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.1303, allocations: 11.44 kB / 362.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1303, allocations: 0 / 362.8 MB, free: 8.797 MB / 302.1 MB Notification: Performance of Templates: time 0.002602/0.1329, allocations: 0.5371 MB / 363.3 MB, free: 8.266 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches