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.001289/0.001289, allocations: 97.36 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001707, allocations: 201 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.8 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002913, allocations: 8 kB / 307.8 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1265, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001725/0.1283, allocations: 0.6619 MB / 359.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.1288, allocations: 111.7 kB / 360 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.129, allocations: 4 kB / 360 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.264e-05/0.1291, allocations: 7.922 kB / 360.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1293, allocations: 3.938 kB / 360.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.1297, allocations: 27.98 kB / 360.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1298, allocations: 47.83 kB / 360.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.13, allocations: 20.17 kB / 360.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.853e-05/0.13, allocations: 11.92 kB / 360.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.1301, allocations: 15.81 kB / 360.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1301, allocations: 0 / 360.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.713e-05/0.1302, allocations: 4 kB / 360.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.1303, allocations: 19.92 kB / 360.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.1303, allocations: 45.52 kB / 360.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1305, allocations: 51.78 kB / 360.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.1305, allocations: 0 / 360.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1305, allocations: 0 / 360.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1305, allocations: 0 / 360.3 MB, free: 12.26 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.0006118/0.1311, allocations: 371.4 kB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.1312, allocations: 8.031 kB / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.1313, allocations: 12.84 kB / 360.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1316, allocations: 188.3 kB / 360.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1316, allocations: 384 / 360.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.1316, allocations: 12.25 kB / 360.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.132, allocations: 135.8 kB / 361 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.132, allocations: 3.938 kB / 361 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1321, allocations: 4 kB / 361 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1321, allocations: 0 / 361 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.1321, allocations: 19.94 kB / 361 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.1323, allocations: 173.6 kB / 361.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1325, allocations: 66.7 kB / 361.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.1326, allocations: 44.83 kB / 361.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.1326, allocations: 0 / 361.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.1327, allocations: 42.56 kB / 361.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.1327, allocations: 0 / 361.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002512/0.133, allocations: 89.47 kB / 361.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.133, allocations: 55.41 kB / 361.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1332, allocations: 133.8 kB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1332, allocations: 25.7 kB / 361.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.1332, allocations: 88.12 kB / 361.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.1333, allocations: 8 kB / 361.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.1333, allocations: 13.72 kB / 361.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1334, allocations: 322.8 kB / 362.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.1334, allocations: 8 kB / 362.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.1335, allocations: 59 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.86e-05/0.1336, allocations: 74.75 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1336, allocations: 0 / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001436/0.1338, allocations: 89.41 kB / 362.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.1338, allocations: 14.42 kB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1338, allocations: 4 kB / 362.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1338, allocations: 4 kB / 362.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.1339, allocations: 16 kB / 362.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1339, allocations: 3.938 kB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.134, allocations: 4.25 kB / 362.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.134, allocations: 8 kB / 362.4 MB, free: 9.926 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.1341, allocations: 125.8 kB / 362.5 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1342, allocations: 77.52 kB / 362.6 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.1343, allocations: 16.72 kB / 362.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1343, allocations: 3.938 kB / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.1343, allocations: 192 / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1343, allocations: 0 / 362.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.1344, allocations: 185.4 kB / 362.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1345, allocations: 0 / 362.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.1345, allocations: 12 kB / 362.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.1345, allocations: 11.88 kB / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1346, allocations: 0 / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1346, allocations: 0 / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1346, allocations: 0 / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1347, allocations: 101 kB / 362.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.1348, allocations: 92.94 kB / 363 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.1348, allocations: 8 kB / 363 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.1348, allocations: 4 kB / 363 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-06/0.1349, allocations: 3.938 kB / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1349, allocations: 0 / 363 MB, free: 9.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.1349, allocations: 103.3 kB / 363.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1349, allocations: 0 / 363.1 MB, free: 9.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.1352, allocations: 12 kB / 363.1 MB, free: 9.082 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 (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.0001191/0.1353, allocations: 99.23 kB / 363.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1354, allocations: 44.17 kB / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1354, allocations: 0 / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.133e-06/0.1354, allocations: 0 / 363.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1358, allocations: 42.36 kB / 363.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.1362, allocations: 191.6 kB / 363.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1365, allocations: 0.6976 MB / 364.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.109e-05/0.1365, allocations: 3.953 kB / 364.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.1366, allocations: 11.44 kB / 364.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1366, allocations: 0 / 364.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of Templates: time 0.003547/0.1401, allocations: 0.5717 MB / 364.7 MB, free: 7.367 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