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.001905/0.001905, allocations: 110.5 kB / 21.23 MB, free: 0.5117 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.002159/0.002159, allocations: 207.9 kB / 24.53 MB, free: 3.891 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.567/1.567, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.002032/0.002032, allocations: 68.53 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.288, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002486/0.2904, allocations: 1.049 MB / 433 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003978/0.2908, allocations: 139.5 kB / 433.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.2909, allocations: 7.938 kB / 433.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2911, allocations: 7.875 kB / 433.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.2912, allocations: 15.86 kB / 433.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.2914, allocations: 47.95 kB / 433.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.2916, allocations: 59.78 kB / 433.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.2917, allocations: 43.89 kB / 433.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.2917, allocations: 19.88 kB / 433.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.855e-05/0.2918, allocations: 39.83 kB / 433.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.2918, allocations: 4 kB / 433.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.557e-05/0.2918, allocations: 11.94 kB / 433.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.2919, allocations: 23.92 kB / 433.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.64e-05/0.292, allocations: 39.73 kB / 433.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.2922, allocations: 92.3 kB / 433.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2922, allocations: 0 / 433.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2922, allocations: 0 / 433.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2922, allocations: 0 / 433.5 MB, free: 5.293 MB / 334.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.0004945/0.2927, allocations: 333.8 kB / 433.8 MB, free: 4.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.2927, allocations: 12.03 kB / 433.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.431e-05/0.2928, allocations: 38.73 kB / 433.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.2928, allocations: 20.84 kB / 433.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.2931, allocations: 150.8 kB / 434.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2931, allocations: 4.375 kB / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.2931, allocations: 8.375 kB / 434.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.2935, allocations: 214.8 kB / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2935, allocations: 0 / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2935, allocations: 4 kB / 434.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.2935, allocations: 4 kB / 434.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.984e-05/0.2936, allocations: 43.84 kB / 434.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.2938, allocations: 164.7 kB / 434.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.294, allocations: 119 kB / 434.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2942, allocations: 69.11 kB / 434.7 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.2942, allocations: 3.938 kB / 434.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.2942, allocations: 38.5 kB / 434.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.2942, allocations: 7.938 kB / 434.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002919/0.2945, allocations: 148.1 kB / 434.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.2946, allocations: 63.34 kB / 434.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2947, allocations: 145.4 kB / 435.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2947, allocations: 33.7 kB / 435.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.2948, allocations: 88.45 kB / 435.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.2948, allocations: 11.94 kB / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.2949, allocations: 41.66 kB / 435.3 MB, free: 3.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.295, allocations: 322.8 kB / 435.6 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.295, allocations: 16 kB / 435.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2952, allocations: 124.3 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.2953, allocations: 153.5 kB / 435.9 MB, free: 2.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.2953, allocations: 7.938 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002266/0.2956, allocations: 149.8 kB / 436 MB, free: 2.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2956, allocations: 8 kB / 436 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2956, allocations: 4 kB / 436 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2956, allocations: 4 kB / 436 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2957, allocations: 35.92 kB / 436.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2957, allocations: 4 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.2958, allocations: 11.95 kB / 436.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.2958, allocations: 15.94 kB / 436.1 MB, free: 2.422 MB / 334.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.0001172/0.2959, allocations: 133.7 kB / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.2961, allocations: 121.5 kB / 436.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.2961, allocations: 21.11 kB / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2962, allocations: 0 / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2962, allocations: 0 / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2962, allocations: 0 / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.2963, allocations: 164.6 kB / 436.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2963, allocations: 0 / 436.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/0.2964, allocations: 31.98 kB / 436.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2964, allocations: 0 / 436.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2964, allocations: 4 kB / 436.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2964, allocations: 0 / 436.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2964, allocations: 4 kB / 436.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.2966, allocations: 163.5 kB / 436.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.2967, allocations: 19.94 kB / 436.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.2967, allocations: 7.938 kB / 436.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.466e-05/0.2967, allocations: 0 / 436.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-06/0.2967, allocations: 4 kB / 436.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.2967, allocations: 4 kB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.956e-05/0.2968, allocations: 118.2 kB / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2968, allocations: 0 / 436.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.2971, allocations: 16 kB / 436.9 MB, free: 1.555 MB / 334.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.0006478/0.2977, allocations: 0.7294 MB / 437.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.2979, allocations: 96.16 kB / 437.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2979, allocations: 0 / 437.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-06/0.2979, allocations: 7.922 kB / 437.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.2983, allocations: 76.44 kB / 437.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.3, allocations: 1.663 MB / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3003, allocations: 0.7162 MB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.3004, allocations: 8.656 kB / 440.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.3004, allocations: 27.42 kB / 440.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3004, allocations: 0 / 440.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3269, allocations: 2.571 MB / 442.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/8.886, allocations: 0 / 442.8 MB, free: 11.54 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.357702389825135] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y[1]', 'assignClock1.y[2]'] 8.958768904209137 8.987324933 8.689496644 Calling exit ...