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.001364/0.001364, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.00141/0.00141, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.522/1.522, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.002107/0.002107, allocations: 67.84 kB / 373.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1192, allocations: 53.33 MB / 426.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003891/0.1231, allocations: 1.877 MB / 428.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1242, allocations: 498.7 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1243, allocations: 3.938 kB / 429.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.1244, allocations: 15.86 kB / 429.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.1245, allocations: 19.8 kB / 429.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1247, allocations: 35.94 kB / 429.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1249, allocations: 107.6 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.125, allocations: 29.33 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.1251, allocations: 43.8 kB / 429.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.1252, allocations: 51.77 kB / 429.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1252, allocations: 8 kB / 429.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.1252, allocations: 12 kB / 429.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.1253, allocations: 15.92 kB / 429.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.587e-05/0.1253, allocations: 51.73 kB / 429.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1255, allocations: 99.55 kB / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1255, allocations: 0 / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1255, allocations: 0 / 429.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1256, allocations: 0 / 429.7 MB, free: 2.008 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007299/0.1263, allocations: 407.2 kB / 430.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1263, allocations: 12.03 kB / 430.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.25e-05/0.1264, allocations: 38.75 kB / 430.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.1264, allocations: 12.89 kB / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1267, allocations: 192.2 kB / 430.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1267, allocations: 8.562 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.1268, allocations: 16.12 kB / 430.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.1271, allocations: 127.2 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1271, allocations: 4 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1271, allocations: 3.984 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1271, allocations: 4 kB / 430.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.1273, allocations: 74 kB / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007549/0.1281, allocations: 0.5247 MB / 431.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1283, allocations: 78.53 kB / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1284, allocations: 36.84 kB / 431.2 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.1284, allocations: 0 / 431.2 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1284, allocations: 34.56 kB / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.1284, allocations: 0 / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000439/0.1289, allocations: 129.9 kB / 431.4 MB, free: 136 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1289, allocations: 55.34 kB / 431.4 MB, free: 68 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2459/0.3748, allocations: 121.7 kB / 431.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3749, allocations: 27.39 kB / 431.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.3749, allocations: 116.1 kB / 431.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.375, allocations: 29.75 kB / 431.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.375, allocations: 29.41 kB / 431.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.3751, allocations: 321.2 kB / 432.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3752, allocations: 33.69 kB / 432.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3754, allocations: 66.06 kB / 432.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.3756, allocations: 106.7 kB / 432.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3756, allocations: 0 / 432.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003368/0.3759, allocations: 135.2 kB / 432.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.376, allocations: 6.688 kB / 432.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.376, allocations: 1.375 kB / 432.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.376, allocations: 6.75 kB / 432.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.3762, allocations: 33.34 kB / 432.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3762, allocations: 2.641 kB / 432.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.3763, allocations: 23.52 kB / 432.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3763, allocations: 7.531 kB / 432.5 MB, free: 10.72 MB / 350.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 8.734e-05/0.3764, allocations: 119.2 kB / 432.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.3764, allocations: 12.25 kB / 432.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.3765, allocations: 12.75 kB / 432.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3765, allocations: 1.469 kB / 432.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3765, allocations: 0 / 432.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.3765, allocations: 0.7812 kB / 432.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.3767, allocations: 194.9 kB / 432.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3767, allocations: 3.438 kB / 432.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3768, allocations: 22.17 kB / 432.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3768, allocations: 4.031 kB / 432.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3768, allocations: 4.531 kB / 432.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3768, allocations: 0.6562 kB / 432.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3768, allocations: 0.5938 kB / 432.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.3773, allocations: 233.5 kB / 433.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.3773, allocations: 84.42 kB / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.3773, allocations: 5.625 kB / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/0.3774, allocations: 7.188 kB / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.3775, allocations: 7.75 kB / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3775, allocations: 5.031 kB / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.3776, allocations: 102.5 kB / 433.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3776, allocations: 0 / 433.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3778, allocations: 29.56 kB / 433.3 MB, free: 10.09 MB / 350.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.000551/0.3784, allocations: 0.763 MB / 434.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.3787, allocations: 83.97 kB / 434.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3787, allocations: 0 / 434.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3788, allocations: 31.36 kB / 434.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3792, allocations: 23.52 kB / 434.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.3811, allocations: 1.729 MB / 436 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.3813, allocations: 0.6989 MB / 436.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.3813, allocations: 12.3 kB / 436.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.3814, allocations: 26.66 kB / 436.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3814, allocations: 0 / 436.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.4113, allocations: 2.422 MB / 439.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.848, allocations: 9.75 kB / 439.1 MB, free: 6.996 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 --stepSize=0.0009996 --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: 11.298420309089124] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 8.921250832267106 8.947121205 8.816925794 Calling exit ...