Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.001284/0.001284, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002237/0.002237, allocations: 217.1 kB / 23 MB, free: 5.578 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.463/1.463, allocations: 230.5 MB / 256.5 MB, free: 8.223 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.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous",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.002005/0.002005, allocations: 71.83 kB / 376.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2698, allocations: 53.32 MB / 429.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003386/0.2732, allocations: 1.907 MB / 431.4 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008671/0.274, allocations: 494.7 kB / 431.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.909e-05/0.2741, allocations: 4 kB / 431.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.2742, allocations: 7.875 kB / 431.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.2743, allocations: 27.78 kB / 431.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.2745, allocations: 35.91 kB / 432 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.2746, allocations: 99.64 kB / 432.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2747, allocations: 33.38 kB / 432.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.2748, allocations: 47.78 kB / 432.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.2749, allocations: 43.78 kB / 432.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.2749, allocations: 8 kB / 432.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.023e-05/0.275, allocations: 8 kB / 432.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.275, allocations: 23.86 kB / 432.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/0.2751, allocations: 47.73 kB / 432.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.2753, allocations: 96.27 kB / 432.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2753, allocations: 0 / 432.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2753, allocations: 4 kB / 432.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2753, allocations: 0 / 432.4 MB, free: 4.66 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006259/0.2759, allocations: 411.1 kB / 432.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.276, allocations: 8.031 kB / 432.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.186e-05/0.276, allocations: 46.73 kB / 432.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.2761, allocations: 8.891 kB / 432.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.2764, allocations: 196.2 kB / 433 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.2764, allocations: 12.56 kB / 433 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.2764, allocations: 12.12 kB / 433.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.2767, allocations: 127.2 kB / 433.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.2767, allocations: 0 / 433.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2767, allocations: 0 / 433.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2768, allocations: 4 kB / 433.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.277, allocations: 67.94 kB / 433.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.2778, allocations: 0.5248 MB / 433.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.278, allocations: 74.55 kB / 433.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.2781, allocations: 44.77 kB / 433.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2781, allocations: 0 / 433.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.2781, allocations: 34.56 kB / 433.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2781, allocations: 0 / 433.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004381/0.2786, allocations: 125.7 kB / 434.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.2786, allocations: 55.41 kB / 434.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2788, allocations: 133.7 kB / 434.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2788, allocations: 25.7 kB / 434.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.2789, allocations: 108 kB / 434.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.2789, allocations: 27.75 kB / 434.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.279, allocations: 29.7 kB / 434.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2791, allocations: 322.8 kB / 434.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.2792, allocations: 35.97 kB / 434.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.2793, allocations: 68.27 kB / 434.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.2796, allocations: 108.3 kB / 434.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.2796, allocations: 4 kB / 435 MB, free: 1.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000312/0.2799, allocations: 133.4 kB / 435.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2799, allocations: 8 kB / 435.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2799, allocations: 0 / 435.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.28, allocations: 8.125 kB / 435.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.2801, allocations: 31.98 kB / 435.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2801, allocations: 0 / 435.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.2802, allocations: 15.94 kB / 435.1 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2802, allocations: 4 kB / 435.1 MB, free: 1.609 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001235/0.2803, allocations: 125.7 kB / 435.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.2804, allocations: 7.953 kB / 435.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.2804, allocations: 12.36 kB / 435.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2804, allocations: 4 kB / 435.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2804, allocations: 4 kB / 435.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2804, allocations: 0 / 435.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.2807, allocations: 205.5 kB / 435.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2807, allocations: 0 / 435.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.2808, allocations: 19.98 kB / 435.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2808, allocations: 0 / 435.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2808, allocations: 0 / 435.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2808, allocations: 320 / 435.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2808, allocations: 3.938 kB / 435.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.2813, allocations: 255.2 kB / 435.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.2813, allocations: 81.06 kB / 435.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2814, allocations: 0 / 435.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/0.2814, allocations: 8.031 kB / 435.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.2815, allocations: 7.984 kB / 435.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2815, allocations: 8 kB / 435.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.38e-05/0.2816, allocations: 98.22 kB / 436 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2816, allocations: 0 / 436 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.2818, allocations: 24 kB / 436 MB, free: 0.668 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (load.phi,load.w,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000704/0.2825, allocations: 0.767 MB / 436.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.2828, allocations: 79.92 kB / 436.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2828, allocations: 0 / 436.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.2829, allocations: 27.98 kB / 436.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.2833, allocations: 24.23 kB / 436.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.2855, allocations: 1.735 MB / 438.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.2859, allocations: 0.7041 MB / 439.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.977e-05/0.286, allocations: 8.422 kB / 439.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.404e-05/0.2861, allocations: 27.44 kB / 439.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2861, allocations: 0 / 439.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.3126, allocations: 2.381 MB / 441.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.296/8.608, allocations: 11.06 kB / 441.8 MB, free: 10.84 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_SimpleControlledDrive_Continuous.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.930296477017691] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 8.674776569008827 8.689283891 8.410803159 Calling exit ...