Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001644/0.001644, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002072/0.002072, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.493/1.493, allocations: 230.5 MB / 254.8 MB, free: 15.25 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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001991/0.001991, allocations: 71.81 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1128, allocations: 53.33 MB / 427 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002151/0.1149, allocations: 0.8998 MB / 427.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003873/0.1153, allocations: 151.5 kB / 428.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.1154, allocations: 4 kB / 428.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.1155, allocations: 11.86 kB / 428.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1156, allocations: 11.88 kB / 428.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.1158, allocations: 55.81 kB / 428.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.1159, allocations: 63.84 kB / 428.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1161, allocations: 35.92 kB / 428.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.1161, allocations: 31.84 kB / 428.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/0.1162, allocations: 39.78 kB / 428.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.1162, allocations: 8 kB / 428.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.1162, allocations: 4 kB / 428.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.1163, allocations: 31.91 kB / 428.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.1164, allocations: 43.67 kB / 428.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1165, allocations: 103.5 kB / 428.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1165, allocations: 0 / 428.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1165, allocations: 0 / 428.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1165, allocations: 3.938 kB / 428.5 MB, free: 3.332 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.0005742/0.1171, allocations: 414.9 kB / 428.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1172, allocations: 12.03 kB / 428.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.1172, allocations: 38.75 kB / 428.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.1172, allocations: 12.84 kB / 429 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1175, allocations: 224.1 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1175, allocations: 4.375 kB / 429.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1175, allocations: 8.375 kB / 429.2 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.118, allocations: 233.5 kB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.118, allocations: 3.938 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.118, allocations: 8 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.118, allocations: 11.92 kB / 429.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.1181, allocations: 43.97 kB / 429.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.1183, allocations: 189.6 kB / 429.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1185, allocations: 135 kB / 429.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.1187, allocations: 86.64 kB / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.1187, allocations: 0 / 429.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1187, allocations: 30.56 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.1187, allocations: 0 / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003334/0.119, allocations: 185.6 kB / 430.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.1191, allocations: 63.39 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.1193, allocations: 161.5 kB / 430.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.1193, allocations: 29.7 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.1193, allocations: 92.47 kB / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1194, allocations: 19.88 kB / 430.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.1194, allocations: 41.7 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1196, allocations: 318.8 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.1196, allocations: 23.92 kB / 430.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1197, allocations: 126.3 kB / 431 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1199, allocations: 157.5 kB / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1199, allocations: 4 kB / 431.1 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002395/0.1202, allocations: 157.3 kB / 431.3 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1202, allocations: 11.94 kB / 431.3 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1202, allocations: 0 / 431.3 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1202, allocations: 8 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1203, allocations: 35.92 kB / 431.3 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1203, allocations: 7.938 kB / 431.3 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.1204, allocations: 16.39 kB / 431.3 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1204, allocations: 12 kB / 431.4 MB, free: 140 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001628/0.1206, allocations: 138.4 kB / 431.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.1208, allocations: 141.3 kB / 431.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.1208, allocations: 21.17 kB / 431.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1208, allocations: 7.984 kB / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1208, allocations: 0 / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1208, allocations: 0 / 431.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.121, allocations: 197.6 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.121, allocations: 0 / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1211, allocations: 23.98 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1211, allocations: 7.938 kB / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1211, allocations: 0 / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1211, allocations: 0 / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1211, allocations: 0 / 431.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.1213, allocations: 168.9 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.1214, allocations: 112.9 kB / 432.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1215, allocations: 11.94 kB / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.033e-05/0.1215, allocations: 0 / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.1215, allocations: 0 / 432.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1215, allocations: 11.98 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.933e-05/0.1216, allocations: 111.2 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1216, allocations: 4 kB / 432.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1218, allocations: 16 kB / 432.3 MB, free: 15.07 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0007149/0.1226, allocations: 0.7706 MB / 433.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.1228, allocations: 100.6 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1228, allocations: 4.188 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-07/0.1228, allocations: 4 kB / 433.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1232, allocations: 90.55 kB / 433.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.125, allocations: 1.721 MB / 435 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1253, allocations: 0.7239 MB / 435.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.1254, allocations: 13.09 kB / 435.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.1254, allocations: 27.42 kB / 435.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1254, allocations: 0 / 435.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.1525, allocations: 2.649 MB / 438.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.069, allocations: 3 kB / 438.4 MB, free: 8.938 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.795644184108824] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 8.141394491773099 8.34943679 8.230559958 Calling exit ...