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.001326/0.001326, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001419/0.001419, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.447/1.447, allocations: 230.5 MB / 254.7 MB, free: 15.17 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.001901/0.001901, allocations: 79.8 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09595, allocations: 53.31 MB / 426.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002229/0.09818, allocations: 0.9154 MB / 427.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000373/0.09855, allocations: 139.6 kB / 427.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.082e-05/0.09863, allocations: 4 kB / 427.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.09873, allocations: 11.86 kB / 428 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.09885, allocations: 19.88 kB / 428 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.09906, allocations: 47.83 kB / 428 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.09919, allocations: 67.83 kB / 428.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.09931, allocations: 31.98 kB / 428.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.755e-05/0.09935, allocations: 27.84 kB / 428.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.09944, allocations: 39.78 kB / 428.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.09946, allocations: 4 kB / 428.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.09948, allocations: 8 kB / 428.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.09954, allocations: 35.91 kB / 428.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.09962, allocations: 39.69 kB / 428.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.09981, allocations: 103.4 kB / 428.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09981, allocations: 0 / 428.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09982, allocations: 4 kB / 428.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.09983, allocations: 3.938 kB / 428.4 MB, free: 3.371 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.0005529/0.1004, allocations: 410.9 kB / 428.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1004, allocations: 8.031 kB / 428.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.1005, allocations: 42.75 kB / 428.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1005, allocations: 20.84 kB / 428.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1008, allocations: 212.1 kB / 429.1 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1008, allocations: 8.375 kB / 429.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1008, allocations: 8.375 kB / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.1012, allocations: 240.1 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1012, allocations: 3.938 kB / 429.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1012, allocations: 4 kB / 429.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1012, allocations: 3.938 kB / 429.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.1013, allocations: 47.97 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.1015, allocations: 193.5 kB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.1017, allocations: 139 kB / 429.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1019, allocations: 79.91 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1019, allocations: 4 kB / 429.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1019, allocations: 38.5 kB / 429.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.1019, allocations: 0 / 429.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003211/0.1022, allocations: 177.6 kB / 430 MB, free: 1.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.1023, allocations: 67.41 kB / 430 MB, free: 1.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1024, allocations: 165.4 kB / 430.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1025, allocations: 25.7 kB / 430.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.1025, allocations: 92.47 kB / 430.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1026, allocations: 19.88 kB / 430.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.1026, allocations: 37.7 kB / 430.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1028, allocations: 322.8 kB / 430.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.1028, allocations: 23.98 kB / 430.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1029, allocations: 113.7 kB / 430.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1031, allocations: 161.5 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1031, allocations: 0 / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002265/0.1033, allocations: 161.3 kB / 431.1 MB, free: 276 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1033, allocations: 7.938 kB / 431.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.1033, allocations: 4 kB / 431.2 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1034, allocations: 4.5 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1035, allocations: 39.92 kB / 431.2 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1035, allocations: 7.938 kB / 431.2 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.1035, allocations: 15.89 kB / 431.2 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1036, allocations: 12 kB / 431.2 MB, free: 184 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.0001249/0.1037, allocations: 133.8 kB / 431.4 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.1039, allocations: 145.4 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.1039, allocations: 25.17 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1039, allocations: 4 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.1039, allocations: 7.984 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1039, allocations: 0 / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.1041, allocations: 185.6 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1041, allocations: 4 kB / 431.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1042, allocations: 23.98 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1042, allocations: 3.938 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1042, allocations: 8 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1042, allocations: 0 / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1042, allocations: 0 / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.1044, allocations: 175.6 kB / 431.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/0.1045, allocations: 108.9 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.1045, allocations: 3.938 kB / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.254e-05/0.1046, allocations: 8 kB / 432.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-06/0.1046, allocations: 0 / 432.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1046, allocations: 4 kB / 432.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.1047, allocations: 119.2 kB / 432.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1047, allocations: 3.938 kB / 432.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1049, allocations: 24 kB / 432.2 MB, free: 15.11 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.0006298/0.1055, allocations: 0.7685 MB / 433 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.1057, allocations: 96.16 kB / 433.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/0.1057, allocations: 7.938 kB / 433.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.1057, allocations: 0 / 433.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1061, allocations: 86.22 kB / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.1077, allocations: 1.712 MB / 434.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1081, allocations: 0.7278 MB / 435.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.1081, allocations: 9.078 kB / 435.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.1082, allocations: 31.42 kB / 435.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1082, allocations: 0 / 435.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.1335, allocations: 2.65 MB / 438.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.302, allocations: 15 kB / 438.3 MB, free: 8.969 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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_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.863248617388308] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 8.372002908028662 8.607876499 8.505607201 Calling exit ...