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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001342/0.001342, 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.001522/0.001522, 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.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 60.12 kB / 307 MB, free: 0.5469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1528, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003641/0.1565, allocations: 0.9517 MB / 358.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000455/0.157, allocations: 107.7 kB / 358.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1571, allocations: 4 kB / 358.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.397e-05/0.1573, allocations: 7.875 kB / 358.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.1574, allocations: 3.938 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.1578, allocations: 43.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1579, allocations: 43.86 kB / 358.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.1581, allocations: 28.14 kB / 358.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.1581, allocations: 11.94 kB / 358.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.1582, allocations: 19.86 kB / 358.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1582, allocations: 4 kB / 358.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.1583, allocations: 4 kB / 358.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.1583, allocations: 15.92 kB / 358.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.1584, allocations: 31.81 kB / 358.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1586, allocations: 51.8 kB / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1586, allocations: 3.938 kB / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1586, allocations: 0 / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1586, allocations: 0 / 358.9 MB, free: 12.68 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.0005945/0.1592, allocations: 379.4 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.1593, allocations: 12.03 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.1593, allocations: 38.73 kB / 359.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.1594, allocations: 16.69 kB / 359.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.1596, allocations: 187.1 kB / 359.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1596, allocations: 4.375 kB / 359.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.1596, allocations: 4.375 kB / 359.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.16, allocations: 131.5 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.16, allocations: 3.938 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.16, allocations: 4 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.16, allocations: 8 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.1601, allocations: 12 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.1603, allocations: 177.5 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1604, allocations: 62.72 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.1605, allocations: 44.97 kB / 360 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1605, allocations: 0 / 360 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1606, allocations: 42.5 kB / 360 MB, free: 11.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1606, allocations: 0 / 360 MB, free: 11.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002442/0.1608, allocations: 85.59 kB / 360.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.1609, allocations: 51.41 kB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1611, allocations: 133.8 kB / 360.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1611, allocations: 25.7 kB / 360.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.1611, allocations: 92.12 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1612, allocations: 4 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.1612, allocations: 29.66 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1614, allocations: 318.8 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.1614, allocations: 4 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.1615, allocations: 58.86 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.992e-05/0.1616, allocations: 70.75 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1616, allocations: 4 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001648/0.1618, allocations: 97.39 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1618, allocations: 7.938 kB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1618, allocations: 4 kB / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.1619, allocations: 0 / 361 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.162, allocations: 12 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.162, allocations: 4 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.1621, allocations: 20.33 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1621, allocations: 4 kB / 361 MB, free: 10.29 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.0001584/0.1623, allocations: 126.8 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1624, allocations: 77.53 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.1624, allocations: 8.719 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1624, allocations: 11.92 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1625, allocations: 4 kB / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1625, allocations: 0 / 361.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1626, allocations: 173.6 kB / 361.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1626, allocations: 4 kB / 361.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.1627, allocations: 15.94 kB / 361.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1627, allocations: 0 / 361.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1627, allocations: 4 kB / 361.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1627, allocations: 8.312 kB / 361.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1627, allocations: 4 kB / 361.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1629, allocations: 101 kB / 361.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.163, allocations: 96.94 kB / 361.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1631, allocations: 4 kB / 361.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.1631, allocations: 4 kB / 361.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-06/0.1631, allocations: 0 / 361.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1631, allocations: 4 kB / 361.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.923e-05/0.1632, allocations: 109.9 kB / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1632, allocations: 0 / 361.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1634, allocations: 8 kB / 361.8 MB, free: 9.441 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.0005896/0.164, allocations: 0.6592 MB / 362.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.1642, allocations: 51.89 kB / 362.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1642, allocations: 0 / 362.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.1642, allocations: 3.938 kB / 362.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1647, allocations: 36.02 kB / 362.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.1662, allocations: 1.339 MB / 363.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.1666, allocations: 0.6963 MB / 364.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.1666, allocations: 7.953 kB / 364.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.1667, allocations: 23.42 kB / 364.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1667, allocations: 3.938 kB / 364.6 MB, free: 6.441 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.1947, allocations: 1.694 MB / 366.3 MB, free: 4.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.407, allocations: 11.36 kB / 366.3 MB, free: 4.832 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches