Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001735/0.001735, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001947/0.001947, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1047, allocations: 53.38 MB / 426.3 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002232/0.107, allocations: 0.8454 MB / 427.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003731/0.1074, allocations: 123.6 kB / 427.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.1074, allocations: 8 kB / 427.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.1075, allocations: 7.922 kB / 427.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.1077, allocations: 7.875 kB / 427.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.1079, allocations: 47.83 kB / 427.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.108, allocations: 35.92 kB / 427.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1081, allocations: 15.98 kB / 427.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.1081, allocations: 23.91 kB / 427.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.1082, allocations: 23.86 kB / 427.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1082, allocations: 7.938 kB / 427.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.1082, allocations: 4 kB / 427.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.1083, allocations: 23.92 kB / 427.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.1083, allocations: 23.81 kB / 427.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.1085, allocations: 59.67 kB / 427.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1085, allocations: 0 / 427.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1085, allocations: 0 / 427.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1085, allocations: 0 / 427.6 MB, free: 3.383 MB / 350.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.0004983/0.109, allocations: 387 kB / 428 MB, free: 2.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.109, allocations: 8.031 kB / 428 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.109, allocations: 42.69 kB / 428 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1091, allocations: 16.84 kB / 428 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1093, allocations: 184.3 kB / 428.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1093, allocations: 4.375 kB / 428.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1093, allocations: 4.375 kB / 428.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.1096, allocations: 147.7 kB / 428.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1096, allocations: 7.938 kB / 428.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1096, allocations: 0 / 428.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1096, allocations: 0 / 428.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.14e-05/0.1097, allocations: 23.97 kB / 428.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.1099, allocations: 181.6 kB / 428.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.11, allocations: 70.69 kB / 428.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.1101, allocations: 40.84 kB / 428.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.1101, allocations: 0 / 428.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1101, allocations: 38.56 kB / 428.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.735e-06/0.1101, allocations: 3.984 kB / 428.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002138/0.1103, allocations: 97.56 kB / 428.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1104, allocations: 63.34 kB / 428.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1105, allocations: 139.7 kB / 429 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1105, allocations: 25.7 kB / 429.1 MB, free: 1.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.1106, allocations: 88.14 kB / 429.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.1106, allocations: 11.95 kB / 429.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.1107, allocations: 25.7 kB / 429.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1108, allocations: 314.8 kB / 429.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.1108, allocations: 15.98 kB / 429.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.376e-05/0.1109, allocations: 62.86 kB / 429.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/0.111, allocations: 74.94 kB / 429.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.111, allocations: 0 / 429.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001397/0.1111, allocations: 101.4 kB / 429.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1111, allocations: 7.938 kB / 429.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1111, allocations: 4 kB / 429.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1112, allocations: 256 / 429.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.1112, allocations: 20 kB / 429.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.1112, allocations: 0 / 429.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1113, allocations: 7.938 kB / 429.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1113, allocations: 7.984 kB / 429.8 MB, free: 0.9141 MB / 350.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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.000101/0.1114, allocations: 125.8 kB / 429.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1115, allocations: 89.7 kB / 430 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.1115, allocations: 12.72 kB / 430 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1115, allocations: 0 / 430 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1115, allocations: 8 kB / 430 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1115, allocations: 0 / 430 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1117, allocations: 173.6 kB / 430.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1117, allocations: 0 / 430.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.1117, allocations: 15.94 kB / 430.2 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1117, allocations: 3.938 kB / 430.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1117, allocations: 0 / 430.2 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1117, allocations: 4 kB / 430.2 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1117, allocations: 0 / 430.2 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.1119, allocations: 109.1 kB / 430.3 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.1119, allocations: 100.9 kB / 430.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.112, allocations: 4 kB / 430.4 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.53e-05/0.112, allocations: 4 kB / 430.4 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-06/0.112, allocations: 3.984 kB / 430.4 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.112, allocations: 0 / 430.4 MB, free: 172 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.646e-05/0.1121, allocations: 109.8 kB / 430.5 MB, free: 64 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1121, allocations: 0 / 430.5 MB, free: 64 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.1123, allocations: 4 kB / 430.5 MB, free: 60 kB / 350.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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0005347/0.1128, allocations: 0.6869 MB / 431.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.1129, allocations: 55.84 kB / 431.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1129, allocations: 0.5625 kB / 431.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1129, allocations: 4 kB / 431.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.1132, allocations: 48 kB / 431.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.1145, allocations: 1.371 MB / 432.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.1149, allocations: 0.7001 MB / 433.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.787e-05/0.1149, allocations: 8.672 kB / 433.4 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.1149, allocations: 23.42 kB / 433.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1149, allocations: 0 / 433.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1387, allocations: 1.819 MB / 435.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.635, allocations: 14.48 kB / 435.3 MB, free: 11.26 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79641e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result:time,previous(unitDelay1.u),assignClock1.u,assignClock1.y,const.y,sum.u[1] [Calling sys.exit(0), Time elapsed: 10.313033023965545]