Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.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.001264/0.001264, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001408/0.001408, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.446/1.446, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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.001866/0.001866, allocations: 75.83 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1115, allocations: 53.32 MB / 426.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.00257/0.114, allocations: 1.029 MB / 427.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004023/0.1144, allocations: 139.6 kB / 428.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1145, allocations: 7.938 kB / 428.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.1147, allocations: 11.86 kB / 428.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1148, allocations: 11.88 kB / 428.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.115, allocations: 47.89 kB / 428.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.1152, allocations: 63.83 kB / 428.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1153, allocations: 35.95 kB / 428.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.1153, allocations: 31.8 kB / 428.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.1154, allocations: 31.8 kB / 428.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.1154, allocations: 12 kB / 428.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.1154, allocations: 4 kB / 428.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.424e-05/0.1155, allocations: 23.91 kB / 428.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.1156, allocations: 43.69 kB / 428.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.1158, allocations: 91.45 kB / 428.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1158, allocations: 4 kB / 428.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1158, allocations: 0 / 428.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1158, allocations: 0 / 428.5 MB, free: 3.293 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.0006263/0.1164, allocations: 399 kB / 428.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1164, allocations: 16.02 kB / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.1165, allocations: 46.75 kB / 428.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1165, allocations: 12.84 kB / 428.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1168, allocations: 208.7 kB / 429.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1168, allocations: 12.31 kB / 429.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1169, allocations: 4.375 kB / 429.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.1173, allocations: 218.8 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1173, allocations: 0 / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.1173, allocations: 8 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1173, allocations: 0 / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.1174, allocations: 35.92 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.1176, allocations: 189.6 kB / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1178, allocations: 119 kB / 429.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.118, allocations: 73.05 kB / 429.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.118, allocations: 3.938 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.118, allocations: 38.55 kB / 429.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.118, allocations: 0 / 429.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003052/0.1183, allocations: 152.2 kB / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.1184, allocations: 67.28 kB / 430 MB, free: 1.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1185, allocations: 143.2 kB / 430.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1185, allocations: 33.7 kB / 430.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.1186, allocations: 84.47 kB / 430.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1186, allocations: 11.98 kB / 430.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1187, allocations: 41.66 kB / 430.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.1189, allocations: 318.8 kB / 430.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.934e-05/0.1189, allocations: 19.98 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.119, allocations: 117.7 kB / 430.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1192, allocations: 157.4 kB / 430.9 MB, free: 488 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1192, allocations: 7.938 kB / 431 MB, free: 480 kB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002675/0.1195, allocations: 149.8 kB / 431.1 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1195, allocations: 8 kB / 431.1 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1195, allocations: 8.031 kB / 431.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1195, allocations: 4 kB / 431.1 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1196, allocations: 31.92 kB / 431.2 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.1196, allocations: 8 kB / 431.2 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.1197, allocations: 11.89 kB / 431.2 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1197, allocations: 15.94 kB / 431.2 MB, free: 236 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: 0 () * 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.00011/0.1198, allocations: 133.7 kB / 431.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.12, allocations: 121.7 kB / 431.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.12, allocations: 25.17 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.12, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1201, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1201, allocations: 0 / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1202, allocations: 193.5 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1202, allocations: 0 / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1203, allocations: 27.98 kB / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1203, allocations: 0 / 431.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1203, allocations: 4 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1203, allocations: 4 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1203, allocations: 0 / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.1205, allocations: 160.8 kB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.1206, allocations: 105 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.1206, allocations: 4 kB / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.1206, allocations: 0 / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-06/0.1206, allocations: 0 / 431.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1207, allocations: 8 kB / 432 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.184e-05/0.1207, allocations: 114.8 kB / 432.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1207, allocations: 0 / 432.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.121, allocations: 20 kB / 432.1 MB, free: 15.22 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: 0 () * 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.0005886/0.1215, allocations: 0.7324 MB / 432.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.1217, allocations: 96.64 kB / 432.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1217, allocations: 0 / 432.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.1217, allocations: 3.938 kB / 432.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1221, allocations: 72.12 kB / 433 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1238, allocations: 1.676 MB / 434.7 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1242, allocations: 0.72 MB / 435.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.744e-05/0.1242, allocations: 4.656 kB / 435.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.1242, allocations: 31.42 kB / 435.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1242, allocations: 0 / 435.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.1509, allocations: 2.482 MB / 437.9 MB, free: 9.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.218, allocations: 18.89 kB / 437.9 MB, free: 9.328 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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_RealSignals_AssignClockVectorized.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.703217330854386] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 8.285475030075759 8.504848027 8.386197543 Calling exit ...