Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.000922, allocations: 90.7 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002819/0.002819, allocations: 177.8 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.657/1.657, allocations: 223.3 MB / 241.6 MB, free: 14.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 8.812 kB / 301.4 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 50.42 MB / 351.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001673/0.1576, allocations: 0.6609 MB / 352.5 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004589/0.1581, allocations: 119.6 kB / 352.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.1583, allocations: 0 / 352.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.891e-05/0.1584, allocations: 11.92 kB / 352.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1585, allocations: 3.938 kB / 352.6 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.1589, allocations: 31.97 kB / 352.7 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.1591, allocations: 35.86 kB / 352.7 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1592, allocations: 20.17 kB / 352.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.1593, allocations: 15.92 kB / 352.7 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.1594, allocations: 23.8 kB / 352.8 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.1594, allocations: 0 / 352.8 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.1594, allocations: 4 kB / 352.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.1595, allocations: 11.94 kB / 352.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.444e-05/0.1596, allocations: 49.5 kB / 352.8 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.1598, allocations: 51.8 kB / 352.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.1599, allocations: 0 / 352.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1599, allocations: 0 / 352.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1599, allocations: 0 / 352.9 MB, free: 2.41 MB / 286.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.0006699/0.1605, allocations: 371.4 kB / 353.2 MB, free: 2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.1606, allocations: 8.031 kB / 353.2 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.1607, allocations: 8.844 kB / 353.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.161, allocations: 188.3 kB / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.161, allocations: 384 / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.161, allocations: 8.375 kB / 353.4 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.1614, allocations: 131.8 kB / 353.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1615, allocations: 7.922 kB / 353.6 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1615, allocations: 4 kB / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1615, allocations: 0 / 353.6 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.502e-05/0.1616, allocations: 15.98 kB / 353.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.1618, allocations: 173.5 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.162, allocations: 74.64 kB / 353.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.754e-05/0.1621, allocations: 41.05 kB / 353.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1621, allocations: 7.922 kB / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1622, allocations: 30.56 kB / 353.9 MB, free: 1.195 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.1622, allocations: 4 kB / 353.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003222/0.1625, allocations: 93.45 kB / 354 MB, free: 1.094 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/0.1626, allocations: 55.41 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.1628, allocations: 133.8 kB / 354.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1628, allocations: 33.7 kB / 354.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.1629, allocations: 84.14 kB / 354.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1629, allocations: 7.922 kB / 354.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.163, allocations: 17.72 kB / 354.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1631, allocations: 310.8 kB / 354.6 MB, free: 428 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.1632, allocations: 15.98 kB / 354.7 MB, free: 412 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.1632, allocations: 54.88 kB / 354.7 MB, free: 332 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1634, allocations: 74.73 kB / 354.8 MB, free: 232 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1634, allocations: 4 kB / 354.8 MB, free: 228 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001779/0.1636, allocations: 89.41 kB / 354.9 MB, free: 132 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.1636, allocations: 10.59 kB / 354.9 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1636, allocations: 4.25 kB / 354.9 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1637, allocations: 8 kB / 354.9 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1638, allocations: 19.98 kB / 354.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.1638, allocations: 3.938 kB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.1638, allocations: 4 kB / 354.9 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1639, allocations: 4 kB / 354.9 MB, free: 80 kB / 286.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.0002423/0.1641, allocations: 121.8 kB / 355.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.1642, allocations: 73.55 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.1643, allocations: 12.7 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1643, allocations: 8 kB / 355.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1643, allocations: 3.938 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1643, allocations: 0 / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1645, allocations: 173.5 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1645, allocations: 0 / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.1647, allocations: 15.98 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.1647, allocations: 3.938 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1647, allocations: 0 / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1647, allocations: 4 kB / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1647, allocations: 0 / 355.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1649, allocations: 109 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.165, allocations: 96.94 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1651, allocations: 0 / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.552e-05/0.1651, allocations: 4 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-06/0.1651, allocations: 0 / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1651, allocations: 7.922 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.523e-05/0.1652, allocations: 103.3 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1652, allocations: 0 / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1655, allocations: 12.19 kB / 355.7 MB, free: 15.24 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.0002688/0.1657, allocations: 103.2 kB / 355.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.1659, allocations: 43.86 kB / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1659, allocations: 0 / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.1659, allocations: 0 / 355.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.1664, allocations: 50.7 kB / 355.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.1668, allocations: 187.9 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.1673, allocations: 0.6972 MB / 356.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.1673, allocations: 0 / 356.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.1674, allocations: 11.44 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1674, allocations: 4 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Templates: time 0.004044/0.1714, allocations: 0.559 MB / 357.3 MB, free: 13.53 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches