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.001309/0.001309, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.506/1.506, allocations: 227.7 MB / 247.7 MB, free: 10.3 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.001938/0.001938, allocations: 65.41 kB / 307.9 MB, free: 484 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1291, allocations: 50.53 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.0027/0.1319, allocations: 0.9481 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003688/0.1323, allocations: 115.7 kB / 359.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.171e-05/0.1324, allocations: 3.938 kB / 359.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.1324, allocations: 3.938 kB / 359.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1326, allocations: 19.91 kB / 359.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1328, allocations: 27.92 kB / 359.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.802e-05/0.1329, allocations: 43.84 kB / 359.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.133, allocations: 24.16 kB / 359.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.1331, allocations: 19.92 kB / 359.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.1331, allocations: 19.86 kB / 359.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.1332, allocations: 4 kB / 359.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.1332, allocations: 4 kB / 359.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.1332, allocations: 15.94 kB / 359.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.1333, allocations: 31.8 kB / 359.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1334, allocations: 51.73 kB / 359.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1334, allocations: 0 / 359.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1334, allocations: 0 / 359.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1335, allocations: 0 / 359.8 MB, free: 12.59 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.000545/0.134, allocations: 383.4 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.134, allocations: 8.031 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1341, allocations: 8.844 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1343, allocations: 192.2 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1344, allocations: 384 / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1344, allocations: 4.375 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.1347, allocations: 127.8 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1347, allocations: 3.938 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1347, allocations: 4 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1347, allocations: 11.94 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.1348, allocations: 12 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.135, allocations: 181.5 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1352, allocations: 66.66 kB / 360.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.1353, allocations: 36.89 kB / 360.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.1353, allocations: 3.984 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1353, allocations: 38.56 kB / 360.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.1353, allocations: 0 / 360.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002331/0.1356, allocations: 89.53 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.1356, allocations: 55.34 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1358, allocations: 137.8 kB / 361.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1358, allocations: 29.64 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.1359, allocations: 88.14 kB / 361.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.1359, allocations: 4 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.136, allocations: 25.72 kB / 361.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1361, allocations: 318.8 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.1362, allocations: 8 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.1362, allocations: 62.86 kB / 361.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.1363, allocations: 70.75 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1363, allocations: 4 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001498/0.1365, allocations: 93.39 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1365, allocations: 9.969 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1365, allocations: 4 kB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1366, allocations: 0 / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.1366, allocations: 12 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1367, allocations: 8.234 kB / 361.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.1367, allocations: 12 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1367, allocations: 7.938 kB / 361.8 MB, free: 10.24 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.0001048/0.1368, allocations: 113.8 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.1369, allocations: 81.67 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.137, allocations: 8.719 kB / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.137, allocations: 4 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.137, allocations: 4 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.137, allocations: 0 / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1372, allocations: 177.5 kB / 362.2 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1372, allocations: 4 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.1373, allocations: 23.88 kB / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.1373, allocations: 7.922 kB / 362.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1373, allocations: 0 / 362.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1373, allocations: 4 kB / 362.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1373, allocations: 0 / 362.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.1375, allocations: 97.42 kB / 362.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.1376, allocations: 92.94 kB / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1376, allocations: 8 kB / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.784e-05/0.1376, allocations: 0 / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.1376, allocations: 4 kB / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1376, allocations: 0 / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.175e-05/0.1377, allocations: 107.4 kB / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1377, allocations: 0 / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.1379, allocations: 11.94 kB / 362.6 MB, free: 9.406 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.0001289/0.1381, allocations: 103.2 kB / 362.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.1382, allocations: 47.98 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1382, allocations: 0 / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.1382, allocations: 0 / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1386, allocations: 49.36 kB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.139, allocations: 191.8 kB / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1393, allocations: 0.7002 MB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.1394, allocations: 7.438 kB / 363.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1394, allocations: 0 / 363.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of Templates: time 0.002514/0.1419, allocations: 0.8104 MB / 364.5 MB, free: 7.438 MB / 302.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 -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