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.001879/0.001879, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002224/0.002224, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.502/1.502, allocations: 230.5 MB / 254.7 MB, free: 15 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-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.002098/0.002098, allocations: 75.86 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1283, allocations: 53.3 MB / 426.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002443/0.1308, allocations: 0.9225 MB / 427.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003907/0.1312, allocations: 131.5 kB / 427.9 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.1312, allocations: 4 kB / 427.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.1314, allocations: 11.86 kB / 427.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1315, allocations: 15.92 kB / 427.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1317, allocations: 51.83 kB / 428 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1318, allocations: 59.89 kB / 428.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.132, allocations: 28.22 kB / 428.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.132, allocations: 27.86 kB / 428.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.1321, allocations: 31.84 kB / 428.1 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.1321, allocations: 4 kB / 428.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.1321, allocations: 11.94 kB / 428.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.1322, allocations: 27.86 kB / 428.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.96e-05/0.1323, allocations: 39.72 kB / 428.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1324, allocations: 83.58 kB / 428.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.1325, allocations: 4 kB / 428.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1325, allocations: 0 / 428.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1325, allocations: 4 kB / 428.3 MB, free: 3.414 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.0005407/0.133, allocations: 393.6 kB / 428.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.133, allocations: 8.031 kB / 428.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/0.1331, allocations: 46.73 kB / 428.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.1331, allocations: 12.89 kB / 428.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1334, allocations: 204.1 kB / 429 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1335, allocations: 4.375 kB / 429 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1335, allocations: 8.375 kB / 429 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1339, allocations: 219.4 kB / 429.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1339, allocations: 7.875 kB / 429.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1339, allocations: 8 kB / 429.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.1339, allocations: 4 kB / 429.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.721e-05/0.134, allocations: 35.98 kB / 429.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.1342, allocations: 189.5 kB / 429.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1344, allocations: 114.7 kB / 429.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1346, allocations: 77.11 kB / 429.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1346, allocations: 0 / 429.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.1346, allocations: 38.55 kB / 429.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.1346, allocations: 0 / 429.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003439/0.135, allocations: 160.3 kB / 429.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/0.135, allocations: 67.39 kB / 429.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1352, allocations: 144.4 kB / 430 MB, free: 1.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1352, allocations: 33.7 kB / 430.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.1353, allocations: 84.45 kB / 430.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.1353, allocations: 8 kB / 430.1 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.1353, allocations: 45.66 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1355, allocations: 318.8 kB / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.1356, allocations: 19.98 kB / 430.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.1357, allocations: 125.6 kB / 430.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1359, allocations: 145.5 kB / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1359, allocations: 0 / 430.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002314/0.1361, allocations: 157.3 kB / 430.9 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1361, allocations: 11.94 kB / 430.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1361, allocations: 0 / 430.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1362, allocations: 8 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.208e-05/0.1362, allocations: 11.92 kB / 431 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1362, allocations: 8.438 kB / 431 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.1363, allocations: 23.89 kB / 431 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1363, allocations: 8 kB / 431 MB, free: 396 kB / 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.0001501/0.1364, allocations: 137.8 kB / 431.1 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.1366, allocations: 121.5 kB / 431.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.1367, allocations: 17.19 kB / 431.3 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1367, allocations: 4 kB / 431.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1367, allocations: 0 / 431.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1367, allocations: 0 / 431.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.1369, allocations: 197.5 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1369, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.1369, allocations: 11.92 kB / 431.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1369, allocations: 7.875 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1369, allocations: 0 / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1369, allocations: 4 kB / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1369, allocations: 0 / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.1371, allocations: 137.1 kB / 431.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1373, allocations: 116.9 kB / 431.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1373, allocations: 8 kB / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.1373, allocations: 3.938 kB / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-06/0.1373, allocations: 0 / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1373, allocations: 8 kB / 431.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.923e-05/0.1374, allocations: 110.1 kB / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1374, allocations: 0 / 431.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1376, allocations: 16 kB / 431.9 MB, free: 15.4 MB / 366.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.0006966/0.1383, allocations: 0.7479 MB / 432.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1385, allocations: 92.66 kB / 432.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1385, allocations: 0 / 432.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.1385, allocations: 4.188 kB / 432.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1389, allocations: 71.92 kB / 432.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1406, allocations: 1.63 MB / 434.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.141, allocations: 0.7083 MB / 435.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.638e-05/0.141, allocations: 8.641 kB / 435.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.1411, allocations: 29.97 kB / 435.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1411, allocations: 4 kB / 435.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.1677, allocations: 2.456 MB / 437.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/7.999, allocations: 7.75 kB / 437.6 MB, free: 9.602 MB / 366.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 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.635655522346497] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 8.06457935180515 8.286417331 8.150503949 Calling exit ...