Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.001303/0.001303, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.001357/0.001357, allocations: 211.3 kB / 21.41 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 227.7 MB / 251.9 MB, free: 64 kB / 190.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-beta.om/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.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 67.89 kB / 365.2 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1165, allocations: 50.54 MB / 415.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002293/0.1189, allocations: 0.9055 MB / 416.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003729/0.1193, allocations: 131.6 kB / 416.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.1193, allocations: 3.938 kB / 416.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.1195, allocations: 3.938 kB / 416.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.207e-05/0.1196, allocations: 23.8 kB / 416.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.1198, allocations: 47.89 kB / 416.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.12, allocations: 55.91 kB / 416.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1202, allocations: 44.19 kB / 417 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.1202, allocations: 31.86 kB / 417 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.1203, allocations: 23.86 kB / 417 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.1203, allocations: 8 kB / 417 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.1203, allocations: 4 kB / 417 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.1204, allocations: 31.89 kB / 417.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.1204, allocations: 35.69 kB / 417.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1206, allocations: 87.52 kB / 417.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1206, allocations: 0 / 417.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1206, allocations: 0 / 417.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1206, allocations: 0 / 417.2 MB, free: 12.23 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004829/0.1211, allocations: 403 kB / 417.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1212, allocations: 8.031 kB / 417.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.1212, allocations: 42.73 kB / 417.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.1212, allocations: 8.891 kB / 417.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1215, allocations: 207 kB / 417.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1215, allocations: 8.375 kB / 417.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1215, allocations: 16.3 kB / 417.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00041/0.122, allocations: 214.2 kB / 418.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.122, allocations: 7.938 kB / 418.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.122, allocations: 4 kB / 418.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.122, allocations: 0 / 418.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.1221, allocations: 39.92 kB / 418.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.1223, allocations: 189.5 kB / 418.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1225, allocations: 130.6 kB / 418.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1227, allocations: 75.17 kB / 418.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.1227, allocations: 3.984 kB / 418.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1227, allocations: 42.56 kB / 418.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.183e-06/0.1227, allocations: 4 kB / 418.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003031/0.123, allocations: 149.5 kB / 418.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.1231, allocations: 63.41 kB / 418.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1233, allocations: 149.7 kB / 418.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1233, allocations: 29.69 kB / 418.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.1233, allocations: 88.47 kB / 419 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.1234, allocations: 4 kB / 419 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.1234, allocations: 45.66 kB / 419.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1236, allocations: 322.8 kB / 419.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.1236, allocations: 19.98 kB / 419.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1238, allocations: 123.5 kB / 419.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.124, allocations: 149.5 kB / 419.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.124, allocations: 4 kB / 419.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002158/0.1242, allocations: 149.8 kB / 419.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1242, allocations: 15.97 kB / 419.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1242, allocations: 4 kB / 419.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1243, allocations: 4 kB / 419.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.7e-05/0.1243, allocations: 11.92 kB / 419.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1243, allocations: 4 kB / 419.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.1244, allocations: 19.89 kB / 419.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1244, allocations: 8 kB / 419.9 MB, free: 9.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001482/0.1245, allocations: 141.8 kB / 420 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.1247, allocations: 127.4 kB / 420.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.1248, allocations: 17.19 kB / 420.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1248, allocations: 4 kB / 420.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1248, allocations: 0 / 420.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1248, allocations: 3.984 kB / 420.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.125, allocations: 181.5 kB / 420.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.125, allocations: 7.922 kB / 420.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.125, allocations: 8 kB / 420.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.125, allocations: 3.938 kB / 420.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.125, allocations: 0 / 420.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1251, allocations: 8 kB / 420.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1251, allocations: 0 / 420.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1253, allocations: 149 kB / 420.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.1254, allocations: 104.9 kB / 420.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1254, allocations: 8 kB / 420.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.1255, allocations: 3.984 kB / 420.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.1255, allocations: 0 / 420.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1255, allocations: 7.938 kB / 420.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.809e-05/0.1256, allocations: 111.2 kB / 420.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1256, allocations: 0 / 420.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1258, allocations: 20 kB / 420.8 MB, free: 8.195 MB / 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: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0007127/0.1265, allocations: 0.7453 MB / 421.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1267, allocations: 91.84 kB / 421.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1268, allocations: 0 / 421.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1268, allocations: 0 / 421.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1272, allocations: 90.3 kB / 421.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1289, allocations: 1.631 MB / 423.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.1293, allocations: 0.7122 MB / 424.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.829e-05/0.1294, allocations: 8.641 kB / 424.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.1294, allocations: 23.44 kB / 424.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1294, allocations: 0 / 424.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.1545, allocations: 2.445 MB / 426.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.115, allocations: 4.188 kB / 426.5 MB, free: 2.41 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_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-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.56354967399966] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 8.184167286963202 8.205071324 8.080452509 Calling exit ...