Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 47.92 kB / 373 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.116, allocations: 53.34 MB / 426.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002505/0.1185, allocations: 0.8571 MB / 427.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000378/0.1189, allocations: 111.7 kB / 427.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.211e-05/0.119, allocations: 3.938 kB / 427.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.544e-05/0.119, allocations: 7.938 kB / 427.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1192, allocations: 7.938 kB / 427.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1194, allocations: 39.89 kB / 427.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1196, allocations: 47.84 kB / 427.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1197, allocations: 15.98 kB / 427.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.571e-05/0.1197, allocations: 11.94 kB / 427.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.1198, allocations: 27.84 kB / 427.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1198, allocations: 4 kB / 427.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.1198, allocations: 4 kB / 427.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.696e-05/0.1198, allocations: 15.92 kB / 427.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.1199, allocations: 23.81 kB / 427.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.12, allocations: 55.73 kB / 427.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.12, allocations: 0 / 427.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.12, allocations: 0 / 427.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.12, allocations: 0 / 427.5 MB, free: 3.656 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.0005106/0.1206, allocations: 379 kB / 427.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1206, allocations: 8.031 kB / 427.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.603e-05/0.1207, allocations: 38.75 kB / 428 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1207, allocations: 12.88 kB / 428 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.121, allocations: 200.1 kB / 428.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.121, allocations: 4.375 kB / 428.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.121, allocations: 8.375 kB / 428.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.1213, allocations: 127.8 kB / 428.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1213, allocations: 3.938 kB / 428.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1214, allocations: 4 kB / 428.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1214, allocations: 4 kB / 428.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.1214, allocations: 16 kB / 428.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.1216, allocations: 169.6 kB / 428.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1218, allocations: 58.66 kB / 428.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.1218, allocations: 36.89 kB / 428.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1218, allocations: 4 kB / 428.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1219, allocations: 34.56 kB / 428.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1219, allocations: 0 / 428.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002169/0.1221, allocations: 89.8 kB / 428.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.1222, allocations: 63.36 kB / 428.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1223, allocations: 135.9 kB / 428.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1223, allocations: 25.7 kB / 428.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.1224, allocations: 88.14 kB / 429 MB, free: 1.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1224, allocations: 3.953 kB / 429 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.1224, allocations: 33.7 kB / 429.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1226, allocations: 318.8 kB / 429.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.1226, allocations: 4 kB / 429.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.1227, allocations: 58.84 kB / 429.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.325e-05/0.1228, allocations: 74.75 kB / 429.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1228, allocations: 4 kB / 429.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001438/0.1229, allocations: 93.44 kB / 429.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.123, allocations: 7.938 kB / 429.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.123, allocations: 4 kB / 429.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.123, allocations: 4 kB / 429.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.706e-05/0.123, allocations: 0 / 429.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.123, allocations: 4.25 kB / 429.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.1231, allocations: 16.12 kB / 429.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1231, allocations: 7.938 kB / 429.6 MB, free: 1.27 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 (integerConstant.y,xor.y,xor.u2,xor.u1,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.0001044/0.1232, allocations: 125.8 kB / 429.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.1233, allocations: 73.58 kB / 429.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.1233, allocations: 8.375 kB / 429.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1233, allocations: 0 / 429.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1233, allocations: 4 kB / 429.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1233, allocations: 0 / 429.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.1234, allocations: 173.6 kB / 430 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1234, allocations: 0 / 430 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.1235, allocations: 7.938 kB / 430 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1235, allocations: 7.938 kB / 430 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1235, allocations: 0 / 430 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1235, allocations: 0 / 430 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1235, allocations: 0 / 430 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.1236, allocations: 101.1 kB / 430.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.1237, allocations: 93.05 kB / 430.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1237, allocations: 7.938 kB / 430.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.1237, allocations: 3.984 kB / 430.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-06/0.1237, allocations: 7.938 kB / 430.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.1237, allocations: 0 / 430.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.607e-05/0.1238, allocations: 105.2 kB / 430.3 MB, free: 476 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1238, allocations: 4 kB / 430.3 MB, free: 472 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.124, allocations: 8 kB / 430.4 MB, free: 464 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,xor.u1,xor.u2,xor.y,integerConstant.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.0006253/0.1246, allocations: 0.667 MB / 431 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.1248, allocations: 43.86 kB / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1248, allocations: 0 / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.1248, allocations: 0 / 431.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1251, allocations: 40.55 kB / 431.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.1265, allocations: 1.327 MB / 432.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.1269, allocations: 0.6924 MB / 433.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.348e-05/0.1269, allocations: 7.984 kB / 433.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.127, allocations: 11.44 kB / 433.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.127, allocations: 4 kB / 433.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1529, allocations: 1.712 MB / 434.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.172, allocations: 15.36 kB / 434.9 MB, free: 11.88 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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,periodicClock.factor,periodicClock.resolution,previous(unitDelay1.u),assignClock1.u,assignClock1.y [Calling sys.exit(0), Time elapsed: 11.109923256997718]