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.00154/0.00154, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001364/0.001365, allocations: 200 kB / 18.01 MB, free: 5.047 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.642/1.642, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 47.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3896, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003121/0.3928, allocations: 0.9492 MB / 401.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004026/0.3932, allocations: 112.5 kB / 401.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.3933, allocations: 6.312 kB / 401.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.281e-05/0.3934, allocations: 11.86 kB / 401.3 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.3935, allocations: 6.312 kB / 401.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.3938, allocations: 42.23 kB / 401.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3939, allocations: 39.14 kB / 401.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.3941, allocations: 25.88 kB / 401.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.3941, allocations: 16.2 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.3942, allocations: 20.25 kB / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.3942, allocations: 3.25 kB / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.3942, allocations: 3.312 kB / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.3943, allocations: 16.17 kB / 401.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.3944, allocations: 29.08 kB / 401.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3945, allocations: 55.67 kB / 401.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3945, allocations: 1.062 kB / 401.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3945, allocations: 0 / 401.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3945, allocations: 0 / 401.6 MB, free: 7.422 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.0005673/0.3951, allocations: 388.5 kB / 402 MB, free: 7.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3952, allocations: 9.438 kB / 402 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.3952, allocations: 36.94 kB / 402 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3953, allocations: 13.89 kB / 402 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.3956, allocations: 190.1 kB / 402.2 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3956, allocations: 4.438 kB / 402.2 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.3956, allocations: 12.36 kB / 402.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.3959, allocations: 135.5 kB / 402.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3959, allocations: 0 / 402.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.396, allocations: 0 / 402.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.396, allocations: 4 kB / 402.4 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.396, allocations: 15.98 kB / 402.4 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.3962, allocations: 169.6 kB / 402.5 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3964, allocations: 74.64 kB / 402.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.799e-05/0.3965, allocations: 40.89 kB / 402.6 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.3965, allocations: 0 / 402.6 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3965, allocations: 34.5 kB / 402.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.3965, allocations: 0 / 402.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002322/0.3968, allocations: 89.86 kB / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.3969, allocations: 63.41 kB / 402.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.397, allocations: 133.8 kB / 403 MB, free: 5.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.397, allocations: 29.7 kB / 403 MB, free: 5.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.3971, allocations: 88.14 kB / 403.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3971, allocations: 7.938 kB / 403.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.3972, allocations: 21.72 kB / 403.1 MB, free: 5.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3973, allocations: 314.8 kB / 403.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.3974, allocations: 11.98 kB / 403.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.3974, allocations: 58.88 kB / 403.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.495e-05/0.3975, allocations: 74.73 kB / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3975, allocations: 0 / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001474/0.3977, allocations: 97.39 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3977, allocations: 10.59 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3977, allocations: 4 kB / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3978, allocations: 0 / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.3978, allocations: 15.98 kB / 403.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3979, allocations: 7.938 kB / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.3979, allocations: 4 kB / 403.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3979, allocations: 4 kB / 403.7 MB, free: 5.066 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.0001105/0.398, allocations: 125.8 kB / 403.8 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.3981, allocations: 77.92 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.3982, allocations: 16.7 kB / 403.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.3982, allocations: 7.938 kB / 403.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3982, allocations: 0 / 403.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3982, allocations: 0 / 403.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3984, allocations: 177.5 kB / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3984, allocations: 0 / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.914e-05/0.3984, allocations: 23.86 kB / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3985, allocations: 0 / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3985, allocations: 0 / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3985, allocations: 0 / 404.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3985, allocations: 4 kB / 404.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.3986, allocations: 101.1 kB / 404.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.3988, allocations: 96.98 kB / 404.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3988, allocations: 0 / 404.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.681e-05/0.3988, allocations: 0 / 404.3 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-06/0.3988, allocations: 3.984 kB / 404.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3988, allocations: 4 kB / 404.3 MB, free: 4.336 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.3989, allocations: 103.3 kB / 404.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3989, allocations: 0 / 404.4 MB, free: 4.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.3991, allocations: 16 kB / 404.4 MB, free: 4.219 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.0006661/0.3998, allocations: 0.6631 MB / 405.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.3999, allocations: 44.28 kB / 405.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4, allocations: 4.188 kB / 405.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.554e-06/0.4, allocations: 3.938 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.4003, allocations: 43.95 kB / 405.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4017, allocations: 1.338 MB / 406.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.4021, allocations: 0.6963 MB / 407.2 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.78e-05/0.4021, allocations: 8.078 kB / 407.2 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.4022, allocations: 23.38 kB / 407.3 MB, free: 1.219 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4022, allocations: 3.938 kB / 407.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.4248, allocations: 1.733 MB / 409 MB, free: 15.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.429/8.854, allocations: 9.953 kB / 409 MB, free: 15.59 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