Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0008272/0.0008272, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008357/0.0008357, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8993/0.8993, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.23e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001381/0.001394, allocations: 0.8808 MB / 325.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002807/0.001674, allocations: 111.6 kB / 325.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.001743, allocations: 0 / 325.5 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.001786, allocations: 7.938 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.001898, allocations: 15.86 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.002084, allocations: 31.91 kB / 325.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.026e-05/0.002175, allocations: 47.89 kB / 325.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.00227, allocations: 15.98 kB / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.002314, allocations: 23.92 kB / 325.6 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.286e-05/0.002347, allocations: 15.91 kB / 325.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.002371, allocations: 0 / 325.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.00238, allocations: 4 kB / 325.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.002427, allocations: 8 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.002453, allocations: 23.92 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.002566, allocations: 51.8 kB / 325.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002568, allocations: 0 / 325.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.002569, allocations: 0 / 325.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.002574, allocations: 3.938 kB / 325.7 MB, free: 14.66 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.0003231/0.002897, allocations: 298 kB / 326 MB, free: 14.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.002935, allocations: 11.98 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.002964, allocations: 34.75 kB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.333e-05/0.002987, allocations: 8.891 kB / 326.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.003164, allocations: 140.6 kB / 326.2 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003174, allocations: 8.375 kB / 326.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.003183, allocations: 4.375 kB / 326.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.003405, allocations: 135.7 kB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.003413, allocations: 192 / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.00342, allocations: 4.312 kB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.003426, allocations: 4.125 kB / 326.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.003469, allocations: 19.98 kB / 326.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.003585, allocations: 132.8 kB / 326.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.003708, allocations: 70.69 kB / 326.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.003748, allocations: 28.86 kB / 326.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.003757, allocations: 0 / 326.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.003779, allocations: 42.55 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 6.01e-07/0.00378, allocations: 3.938 kB / 326.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001571/0.003937, allocations: 81.62 kB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.003986, allocations: 67.28 kB / 326.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.004071, allocations: 129.8 kB / 326.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.004079, allocations: 25.7 kB / 327 MB, free: 13.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.004113, allocations: 92.14 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.004123, allocations: 3.953 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.004149, allocations: 21.7 kB / 327.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.832e-05/0.004227, allocations: 310.8 kB / 327.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.004237, allocations: 4 kB / 327.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.004244, allocations: 4 kB / 327.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.119e-05/0.004265, allocations: 12.86 kB / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004266, allocations: 0 / 327.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.254e-05/0.004309, allocations: 49.62 kB / 327.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.00432, allocations: 8.094 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.004324, allocations: 0 / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.004334, allocations: 0 / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.083e-05/0.004344, allocations: 3.938 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.004349, allocations: 0 / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-06/0.004359, allocations: 3.984 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.004363, allocations: 4 kB / 327.5 MB, free: 12.72 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.571e-05/0.004429, allocations: 117.8 kB / 327.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.004479, allocations: 69.64 kB / 327.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.004504, allocations: 16.42 kB / 327.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.004505, allocations: 4 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.00451, allocations: 3.938 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.004512, allocations: 0 / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.794e-05/0.00457, allocations: 144.6 kB / 327.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.004571, allocations: 3.984 kB / 327.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-06/0.004578, allocations: 7.938 kB / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.004579, allocations: 0 / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.004584, allocations: 0 / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.004586, allocations: 4 kB / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.004588, allocations: 3.938 kB / 327.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.876e-05/0.004657, allocations: 93.08 kB / 327.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.004684, allocations: 19.94 kB / 328 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.004694, allocations: 0 / 328 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.004706, allocations: 4 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-06/0.004709, allocations: 3.938 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.004713, allocations: 4 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.871e-05/0.004751, allocations: 99.27 kB / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004751, allocations: 0 / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001222/0.004874, allocations: 11.94 kB / 328.1 MB, free: 12.05 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.0002996/0.005173, allocations: 0.6554 MB / 328.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.404e-05/0.005247, allocations: 28.05 kB / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.005249, allocations: 3.938 kB / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.005249, allocations: 0 / 328.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.005502, allocations: 46.75 kB / 328.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.006218, allocations: 1.172 MB / 330 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.964e-05/0.006268, allocations: 87.73 kB / 330.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.315e-05/0.006281, allocations: 4 kB / 330.1 MB, free: 9.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.006322, allocations: 20.58 kB / 330.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006323, allocations: 0 / 330.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.01977, allocations: 2.316 MB / 332.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.667/6.687, allocations: 0 / 332.4 MB, free: 7.691 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv: Error: Error opening file: Modelica_trunk_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.413938888348639]