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.001836/0.001836, allocations: 102.2 kB / 17.06 MB, free: 6.016 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.002028/0.002028, allocations: 195 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.457/2.457, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 47.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4943, allocations: 49.43 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.004243/0.4986, allocations: 0.9468 MB / 401.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.4993, allocations: 120.3 kB / 401.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.4996, allocations: 2.156 kB / 401.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.465e-05/0.4997, allocations: 7.922 kB / 401.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.5, allocations: 9.969 kB / 401.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.5005, allocations: 38.66 kB / 401.4 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.5007, allocations: 42.91 kB / 401.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.501, allocations: 17.86 kB / 401.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.5011, allocations: 13.62 kB / 401.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.5011, allocations: 26.45 kB / 401.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.5012, allocations: 3.969 kB / 401.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.5012, allocations: 4.438 kB / 401.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.5013, allocations: 20.02 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.5014, allocations: 28.47 kB / 401.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.5016, allocations: 61 kB / 401.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5017, allocations: 0 / 401.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5017, allocations: 0 / 401.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.5017, allocations: 1.094 kB / 401.6 MB, free: 7.441 MB / 318.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.0007279/0.5024, allocations: 369.7 kB / 401.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.032e-05/0.5025, allocations: 10.16 kB / 401.9 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.753e-05/0.5026, allocations: 39.8 kB / 402 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.5027, allocations: 13.44 kB / 402 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.5031, allocations: 195.7 kB / 402.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.5031, allocations: 5.781 kB / 402.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.5032, allocations: 4.125 kB / 402.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.5036, allocations: 141.5 kB / 402.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5036, allocations: 0 / 402.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.5037, allocations: 3.984 kB / 402.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.5037, allocations: 0 / 402.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.5038, allocations: 23.94 kB / 402.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.504, allocations: 169.6 kB / 402.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.5043, allocations: 62.72 kB / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.397e-05/0.5044, allocations: 40.89 kB / 402.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.5045, allocations: 0 / 402.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.5045, allocations: 34.5 kB / 402.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.5045, allocations: 3.938 kB / 402.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000312/0.5048, allocations: 85.59 kB / 402.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/0.505, allocations: 55.41 kB / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.5052, allocations: 140.3 kB / 402.9 MB, free: 5.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.5052, allocations: 25.7 kB / 403 MB, free: 5.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.5053, allocations: 92.14 kB / 403.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.5053, allocations: 7.844 kB / 403.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.5054, allocations: 29.7 kB / 403.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5056, allocations: 314.8 kB / 403.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.5056, allocations: 4 kB / 403.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-05/0.5057, allocations: 66.8 kB / 403.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.5058, allocations: 74.73 kB / 403.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.5058, allocations: 4 kB / 403.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000213/0.5061, allocations: 93.41 kB / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.5061, allocations: 4.188 kB / 403.6 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.5061, allocations: 4 kB / 403.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.5062, allocations: 8.188 kB / 403.7 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.5063, allocations: 19.92 kB / 403.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.5063, allocations: 4 kB / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.5064, allocations: 4 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.5064, allocations: 11.94 kB / 403.7 MB, free: 5.117 MB / 318.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.0001538/0.5066, allocations: 113.8 kB / 403.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.5067, allocations: 85.61 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.5068, allocations: 8.719 kB / 403.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.5068, allocations: 4 kB / 403.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.5068, allocations: 4 kB / 403.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.5069, allocations: 3.984 kB / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.5071, allocations: 165.7 kB / 404.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5071, allocations: 0 / 404.1 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.612e-05/0.5072, allocations: 19.92 kB / 404.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.5072, allocations: 0 / 404.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5072, allocations: 4 kB / 404.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5072, allocations: 0 / 404.1 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5072, allocations: 4 kB / 404.1 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.5074, allocations: 101 kB / 404.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.5077, allocations: 100.9 kB / 404.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.5077, allocations: 0 / 404.3 MB, free: 4.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.117e-05/0.5077, allocations: 4 kB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.5078, allocations: 0 / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.5078, allocations: 4 kB / 404.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.5079, allocations: 107.2 kB / 404.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5079, allocations: 0 / 404.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.5083, allocations: 4 kB / 404.4 MB, free: 4.293 MB / 318.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.00076/0.5091, allocations: 0.6785 MB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.5093, allocations: 44.47 kB / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5093, allocations: 0 / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.5093, allocations: 0.5625 kB / 405.1 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.5098, allocations: 54.84 kB / 405.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.5124, allocations: 1.332 MB / 406.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006299/0.5131, allocations: 0.6963 MB / 407.2 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.809e-05/0.5131, allocations: 8 kB / 407.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.142e-05/0.5132, allocations: 19.42 kB / 407.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5132, allocations: 0 / 407.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.5491, allocations: 1.76 MB / 409 MB, free: 15.63 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.88, allocations: 12.61 kB / 409 MB, free: 15.62 MB / 334.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