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.001364/0.001364, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 55.41 kB / 306.9 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1308, allocations: 50.54 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002637/0.1334, allocations: 0.936 MB / 358.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003833/0.1338, allocations: 115.7 kB / 358.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.134, allocations: 4 kB / 358.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.34e-05/0.134, allocations: 7.875 kB / 358.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1342, allocations: 7.922 kB / 358.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.1344, allocations: 39.91 kB / 358.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1345, allocations: 39.86 kB / 358.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1347, allocations: 20.16 kB / 358.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.1347, allocations: 19.92 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.71e-05/0.1348, allocations: 23.86 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1348, allocations: 0 / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.1348, allocations: 4 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.1349, allocations: 19.88 kB / 358.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.135, allocations: 35.8 kB / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1351, allocations: 47.8 kB / 358.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1351, allocations: 3.938 kB / 358.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1351, allocations: 0 / 358.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1351, allocations: 0 / 358.8 MB, free: 12.77 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.0004872/0.1356, allocations: 375.4 kB / 359.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1356, allocations: 12.03 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1357, allocations: 8.844 kB / 359.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1359, allocations: 199.1 kB / 359.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1359, allocations: 4.375 kB / 359.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.136, allocations: 8.359 kB / 359.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.1362, allocations: 127.8 kB / 359.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1363, allocations: 3.938 kB / 359.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1363, allocations: 7.938 kB / 359.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1363, allocations: 4 kB / 359.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.102e-05/0.1363, allocations: 12 kB / 359.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1365, allocations: 181.5 kB / 359.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.1367, allocations: 66.72 kB / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/0.1367, allocations: 36.83 kB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.1368, allocations: 4 kB / 359.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1368, allocations: 38.56 kB / 359.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.1368, allocations: 0 / 359.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000203/0.137, allocations: 85.53 kB / 359.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.1371, allocations: 55.41 kB / 360 MB, free: 11.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1372, allocations: 137.8 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1372, allocations: 25.7 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.1373, allocations: 84.14 kB / 360.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1373, allocations: 8 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.1374, allocations: 25.7 kB / 360.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1375, allocations: 322.8 kB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.1376, allocations: 8 kB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.1376, allocations: 58.86 kB / 360.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.1377, allocations: 74.75 kB / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1377, allocations: 4 kB / 360.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001153/0.1378, allocations: 85.45 kB / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1378, allocations: 12.12 kB / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1379, allocations: 3.938 kB / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1379, allocations: 7.938 kB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.1379, allocations: 15.98 kB / 360.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.138, allocations: 4 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.138, allocations: 8.25 kB / 360.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.138, allocations: 4 kB / 360.9 MB, free: 10.42 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.000125/0.1381, allocations: 125.7 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.1382, allocations: 77.67 kB / 361.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.1383, allocations: 12.72 kB / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1383, allocations: 0 / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1383, allocations: 3.938 kB / 361.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1383, allocations: 3.984 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.1384, allocations: 177.5 kB / 361.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1384, allocations: 4 kB / 361.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.1385, allocations: 19.98 kB / 361.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1385, allocations: 3.938 kB / 361.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.1385, allocations: 0 / 361.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-05/0.1386, allocations: 400 / 361.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1386, allocations: 3.938 kB / 361.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.1387, allocations: 101 kB / 361.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.1388, allocations: 96.94 kB / 361.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1388, allocations: 8 kB / 361.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.749e-05/0.1388, allocations: 0 / 361.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-06/0.1388, allocations: 0 / 361.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1388, allocations: 4 kB / 361.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.1389, allocations: 105.9 kB / 361.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1389, allocations: 4 kB / 361.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001953/0.1391, allocations: 4 kB / 361.6 MB, free: 9.578 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 9.917e-05/0.1392, allocations: 99.78 kB / 361.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1393, allocations: 51.86 kB / 361.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1394, allocations: 0 / 361.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1394, allocations: 0 / 361.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.1397, allocations: 35.95 kB / 361.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.1399, allocations: 178.1 kB / 362 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1402, allocations: 0.7012 MB / 362.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.1402, allocations: 7.953 kB / 362.7 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1403, allocations: 11.44 kB / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1403, allocations: 0 / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of Templates: time 0.002939/0.1432, allocations: 0.6147 MB / 363.3 MB, free: 7.824 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