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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009426/0.0009426, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8768/0.8768, allocations: 173.3 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.366e-05, allocations: 9.516 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001997/0.002021, allocations: 0.9431 MB / 319.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003406/0.002361, allocations: 115.6 kB / 319.5 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.002454, allocations: 3.938 kB / 319.5 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.002498, allocations: 7.922 kB / 319.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.002626, allocations: 15.81 kB / 319.5 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.002831, allocations: 43.83 kB / 319.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.002923, allocations: 31.92 kB / 319.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.003021, allocations: 32.08 kB / 319.6 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.003064, allocations: 19.98 kB / 319.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.876e-05/0.003103, allocations: 15.92 kB / 319.7 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.003123, allocations: 4 kB / 319.7 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.003133, allocations: 4 kB / 319.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.00318, allocations: 19.91 kB / 319.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.00321, allocations: 11.94 kB / 319.7 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.003334, allocations: 55.8 kB / 319.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003336, allocations: 0 / 319.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.003338, allocations: 0 / 319.8 MB, free: 5.035 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.003342, allocations: 0 / 319.8 MB, free: 5.035 MB / 282.7 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.0003585/0.0037, allocations: 305.2 kB / 320.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.00374, allocations: 16.92 kB / 320.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.582e-05/0.003766, allocations: 34.73 kB / 320.1 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.003788, allocations: 8.891 kB / 320.1 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.00395, allocations: 132.7 kB / 320.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.00396, allocations: 8.375 kB / 320.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.003969, allocations: 384 / 320.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.004182, allocations: 143.7 kB / 320.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00419, allocations: 192 / 320.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-06/0.004198, allocations: 384 / 320.4 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.004204, allocations: 3.938 kB / 320.4 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.282e-05/0.004237, allocations: 12 kB / 320.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.004355, allocations: 148.7 kB / 320.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.004481, allocations: 62.66 kB / 320.6 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.004531, allocations: 32.89 kB / 320.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.004548, allocations: 4 kB / 320.7 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.004573, allocations: 30.56 kB / 320.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 3.186e-06/0.004577, allocations: 4 kB / 320.7 MB, free: 3.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000171/0.004748, allocations: 93.53 kB / 320.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.004794, allocations: 55.72 kB / 320.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.004893, allocations: 133.8 kB / 321 MB, free: 3.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.004904, allocations: 29.64 kB / 321 MB, free: 3.637 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.004943, allocations: 92.12 kB / 321.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.004955, allocations: 0 / 321.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.004982, allocations: 17.72 kB / 321.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.005058, allocations: 310.8 kB / 321.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.005069, allocations: 4 kB / 321.4 MB, free: 3.203 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.005076, allocations: 4 kB / 321.4 MB, free: 3.199 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.005102, allocations: 20.84 kB / 321.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005104, allocations: 0 / 321.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.745e-05/0.005152, allocations: 45.59 kB / 321.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.005166, allocations: 8 kB / 321.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.005172, allocations: 0 / 321.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.005186, allocations: 3.938 kB / 321.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.005241, allocations: 7.938 kB / 321.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.005247, allocations: 3.984 kB / 321.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.005258, allocations: 0 / 321.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.005264, allocations: 4.031 kB / 321.5 MB, free: 3.098 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.623e-05/0.00534, allocations: 117.8 kB / 321.6 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.005401, allocations: 77.78 kB / 321.7 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.005431, allocations: 8.781 kB / 321.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.005435, allocations: 7.938 kB / 321.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.005439, allocations: 0 / 321.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.005443, allocations: 0 / 321.7 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.788e-05/0.005521, allocations: 136.7 kB / 321.8 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.005527, allocations: 4 kB / 321.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.005572, allocations: 12 kB / 321.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.005573, allocations: 7.938 kB / 321.9 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.005581, allocations: 4 kB / 321.9 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.005583, allocations: 3.938 kB / 321.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005584, allocations: 0 / 321.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.496e-05/0.005669, allocations: 101.1 kB / 322 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.005703, allocations: 23.88 kB / 322 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.005718, allocations: 3.984 kB / 322 MB, free: 2.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.005728, allocations: 3.938 kB / 322 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-06/0.00573, allocations: 0 / 322 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.005734, allocations: 4 kB / 322 MB, free: 2.512 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.005782, allocations: 109.7 kB / 322.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005782, allocations: 4 kB / 322.1 MB, free: 2.402 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001201/0.005902, allocations: 4 kB / 322.1 MB, free: 2.398 MB / 282.7 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.0006409/0.006543, allocations: 0.6553 MB / 322.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.209e-05/0.006625, allocations: 31.97 kB / 322.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.006627, allocations: 0 / 322.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-07/0.006628, allocations: 0 / 322.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.006874, allocations: 43.83 kB / 322.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007219/0.007596, allocations: 1.192 MB / 324 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.031e-05/0.007647, allocations: 83.47 kB / 324.1 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.249e-05/0.007659, allocations: 0 / 324.1 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.007701, allocations: 20.5 kB / 324.2 MB, free: 248 kB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007702, allocations: 0 / 324.2 MB, free: 248 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01777/0.02547, allocations: 2.332 MB / 326.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/6.638, allocations: 3.984 kB / 326.5 MB, free: 14.03 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=1.79641e-05 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.29827711544931]