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.00114/0.00114, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009241/0.0009241, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9354/0.9354, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763e-06/1.763e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.748e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001557/0.001575, allocations: 0.879 MB / 325.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002896/0.001864, allocations: 119.5 kB / 325.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.001941, allocations: 7.938 kB / 325.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.001987, allocations: 7.922 kB / 325.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.002108, allocations: 7.938 kB / 325.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.002301, allocations: 39.89 kB / 325.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.179e-05/0.002393, allocations: 43.86 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.337e-05/0.002487, allocations: 15.98 kB / 325.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.00253, allocations: 23.92 kB / 325.7 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.607e-05/0.002556, allocations: 11.97 kB / 325.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.002578, allocations: 0 / 325.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.002586, allocations: 4 kB / 325.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.00264, allocations: 15.92 kB / 325.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.002667, allocations: 19.94 kB / 325.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.002775, allocations: 51.8 kB / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002776, allocations: 0 / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.002777, allocations: 0 / 325.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.002782, allocations: 0 / 325.8 MB, free: 14.7 MB / 298.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.0002958/0.003078, allocations: 293.2 kB / 326.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.003116, allocations: 8.031 kB / 326.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.234e-05/0.003149, allocations: 46.67 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.003175, allocations: 8.891 kB / 326.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.003343, allocations: 148.2 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.003352, allocations: 4.375 kB / 326.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.00336, allocations: 4.375 kB / 326.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.003566, allocations: 127.9 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.003573, allocations: 192 / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.003581, allocations: 384 / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.003587, allocations: 8.109 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.66e-05/0.003624, allocations: 19.94 kB / 326.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.003733, allocations: 136.7 kB / 326.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.003852, allocations: 66.7 kB / 326.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.003894, allocations: 32.89 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.003903, allocations: 0 / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.003925, allocations: 42.44 kB / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 6.11e-07/0.003925, allocations: 0 / 326.7 MB, free: 13.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001659/0.004091, allocations: 81.64 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.004151, allocations: 67.33 kB / 326.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/0.004235, allocations: 133.8 kB / 327 MB, free: 13.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.004246, allocations: 25.7 kB / 327 MB, free: 13.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.004288, allocations: 96.12 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.004299, allocations: 3.953 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.004326, allocations: 17.72 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003865/0.004713, allocations: 314.8 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.004724, allocations: 4 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-06/0.00473, allocations: 0 / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.004755, allocations: 16.8 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.004757, allocations: 0 / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.234e-05/0.0048, allocations: 41.7 kB / 327.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.004812, allocations: 8.094 kB / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.004816, allocations: 0 / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.004829, allocations: 0 / 327.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.426e-05/0.004843, allocations: 3.938 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.00485, allocations: 3.984 kB / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-06/0.004859, allocations: 0 / 327.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004863, allocations: 4 kB / 327.5 MB, free: 12.77 MB / 298.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: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * 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 6.919e-05/0.004932, allocations: 113.8 kB / 327.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.004986, allocations: 73.58 kB / 327.7 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.005016, allocations: 12.44 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005018, allocations: 4 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.005022, allocations: 3.938 kB / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005025, allocations: 0 / 327.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.177e-05/0.005097, allocations: 148.6 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.005098, allocations: 0 / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-06/0.005105, allocations: 4 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.005106, allocations: 0 / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.005112, allocations: 0 / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.005113, allocations: 4 kB / 327.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.005116, allocations: 3.938 kB / 327.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.06e-05/0.005186, allocations: 97.02 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.005215, allocations: 23.88 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.005227, allocations: 0 / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.005237, allocations: 4 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-06/0.00524, allocations: 3.938 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.005242, allocations: 0 / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.435e-05/0.005287, allocations: 110.2 kB / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005287, allocations: 0 / 328.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001208/0.005408, allocations: 8 kB / 328.1 MB, free: 12.09 MB / 298.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: 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.0002893/0.005697, allocations: 0.6553 MB / 328.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.302e-05/0.00577, allocations: 28.06 kB / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.005771, allocations: 0 / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.005772, allocations: 0 / 328.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.005994, allocations: 44.42 kB / 328.9 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.006604, allocations: 1.173 MB / 330 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.215e-05/0.006656, allocations: 87 kB / 330.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.294e-05/0.006669, allocations: 4 kB / 330.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.006706, allocations: 12.59 kB / 330.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.006707, allocations: 4 kB / 330.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.02239, allocations: 2.331 MB / 332.5 MB, free: 7.746 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.147, allocations: 9.812 kB / 332.5 MB, free: 7.742 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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] "Error: Failed to open simulation result Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv: Error: Error opening file: Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,assignClock1.y Variables in the result: [Calling sys.exit(0), Time elapsed: 8.979468905366957]