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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 116.5 kB / 16.63 MB, free: 6.945 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.001473/0.001473, allocations: 197.8 kB / 17.55 MB, free: 6.043 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.552/1.552, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 38.44 kB / 300.2 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1703, allocations: 49.47 MB / 349.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003027/0.1734, allocations: 1.001 MB / 350.7 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004287/0.1738, allocations: 119.5 kB / 350.8 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.174, allocations: 4 kB / 350.8 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.586e-05/0.1741, allocations: 3.938 kB / 350.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.1743, allocations: 0 / 350.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1746, allocations: 39.91 kB / 350.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1748, allocations: 43.84 kB / 350.9 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1749, allocations: 16.19 kB / 350.9 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.756e-05/0.175, allocations: 23.92 kB / 350.9 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.175, allocations: 23.84 kB / 351 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.1751, allocations: 4 kB / 351 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.1751, allocations: 4 kB / 351 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.1752, allocations: 11.94 kB / 351 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.1752, allocations: 27.8 kB / 351 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1754, allocations: 51.8 kB / 351.1 MB, free: 3.047 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1754, allocations: 0 / 351.1 MB, free: 3.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1754, allocations: 0 / 351.1 MB, free: 3.047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1754, allocations: 0 / 351.1 MB, free: 3.047 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.0006621/0.1761, allocations: 389.7 kB / 351.4 MB, free: 2.621 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.1762, allocations: 8.031 kB / 351.5 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.1762, allocations: 34.75 kB / 351.5 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1763, allocations: 12.84 kB / 351.5 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1766, allocations: 188.2 kB / 351.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1766, allocations: 384 / 351.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1766, allocations: 4.375 kB / 351.7 MB, free: 2.332 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.1769, allocations: 143.4 kB / 351.8 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.177, allocations: 4 kB / 351.8 MB, free: 2.176 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.177, allocations: 4 kB / 351.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.177, allocations: 7.938 kB / 351.8 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.033e-05/0.1771, allocations: 15.98 kB / 351.9 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.1773, allocations: 173.5 kB / 352 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1775, allocations: 70.66 kB / 352.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.1776, allocations: 36.89 kB / 352.1 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.1776, allocations: 0 / 352.1 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1776, allocations: 42.5 kB / 352.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1776, allocations: 0 / 352.2 MB, free: 1.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002605/0.1779, allocations: 85.73 kB / 352.3 MB, free: 1.672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.178, allocations: 59.39 kB / 352.3 MB, free: 1.602 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.1781, allocations: 141.8 kB / 352.5 MB, free: 1.453 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1782, allocations: 25.7 kB / 352.5 MB, free: 1.422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.1782, allocations: 84.14 kB / 352.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1782, allocations: 4 kB / 352.6 MB, free: 1.332 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.1783, allocations: 25.7 kB / 352.6 MB, free: 1.301 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1785, allocations: 318.8 kB / 352.9 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.1785, allocations: 7.984 kB / 352.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.1786, allocations: 58.88 kB / 353 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1787, allocations: 78.73 kB / 353 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1787, allocations: 0 / 353 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001591/0.1789, allocations: 89.34 kB / 353.1 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1789, allocations: 4.25 kB / 353.1 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1789, allocations: 8 kB / 353.1 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.179, allocations: 4 kB / 353.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.1791, allocations: 15.98 kB / 353.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1791, allocations: 0 / 353.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.1791, allocations: 8 kB / 353.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1791, allocations: 4 kB / 353.2 MB, free: 0.6523 MB / 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.0001276/0.1793, allocations: 121.8 kB / 353.3 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1794, allocations: 73.53 kB / 353.4 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.1794, allocations: 20.7 kB / 353.4 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1795, allocations: 0 / 353.4 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1795, allocations: 0 / 353.4 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1795, allocations: 192 / 353.4 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1796, allocations: 181.5 kB / 353.6 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1797, allocations: 3.938 kB / 353.6 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.1797, allocations: 27.8 kB / 353.6 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1797, allocations: 4 kB / 353.6 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1798, allocations: 0 / 353.6 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1798, allocations: 0 / 353.6 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1798, allocations: 0 / 353.6 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.1799, allocations: 105.4 kB / 353.7 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1801, allocations: 92.94 kB / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1801, allocations: 12 kB / 353.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.1801, allocations: 0 / 353.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-06/0.1801, allocations: 0 / 353.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1801, allocations: 0 / 353.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.461e-05/0.1802, allocations: 110.4 kB / 353.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1802, allocations: 0 / 353.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1805, allocations: 12 kB / 353.9 MB, free: 15.8 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.0006963/0.1812, allocations: 0.667 MB / 354.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.1813, allocations: 52.36 kB / 354.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1814, allocations: 0 / 354.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1814, allocations: 4.062 kB / 354.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.1818, allocations: 37.64 kB / 354.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.1833, allocations: 1.366 MB / 356.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1837, allocations: 0.6963 MB / 356.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.391e-05/0.1837, allocations: 4 kB / 356.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.1838, allocations: 19.44 kB / 356.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1838, allocations: 0 / 356.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.1982, allocations: 1.613 MB / 358.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003887/0.1986, allocations: 219.8 kB / 358.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.142, allocations: 3.938 kB / 358.6 MB, free: 11.04 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/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