Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.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.001378/0.001378, allocations: 114.2 kB / 20.22 MB, free: 1.934 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.001507/0.001507, allocations: 218.6 kB / 23.48 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.2 MB / 256.8 MB, free: 8.566 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2233/0.2233, allocations: 46.89 MB / 360 MB, free: 4.699 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.002475/0.002475, allocations: 80.14 kB / 0.4951 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3339, allocations: 65.97 MB / 0.5595 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002989/0.3369, allocations: 2.652 MB / 0.5621 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.338, allocations: 0.7355 MB / 0.5628 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.3381, allocations: 9.906 kB / 0.5628 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.3383, allocations: 40.61 kB / 0.5628 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.3384, allocations: 94.5 kB / 0.5629 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.3387, allocations: 98.09 kB / 0.563 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.339, allocations: 338.4 kB / 0.5633 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.3391, allocations: 67.78 kB / 0.5634 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.3393, allocations: 137 kB / 0.5635 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.3394, allocations: 136.4 kB / 0.5637 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.3395, allocations: 24.41 kB / 0.5637 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.3395, allocations: 24.09 kB / 0.5637 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.3396, allocations: 57.8 kB / 0.5638 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.3396, allocations: 149.6 kB / 0.5639 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3399, allocations: 307.1 kB / 0.5642 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3399, allocations: 0 / 0.5642 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3399, allocations: 0 / 0.5642 GB, free: 30.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3399, allocations: 0.5312 kB / 0.5642 GB, free: 30.84 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007057/0.3406, allocations: 0.5982 MB / 0.5648 GB, free: 30.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3407, allocations: 9.812 kB / 0.5648 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.3407, allocations: 62.31 kB / 0.5649 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.3409, allocations: 57.36 kB / 0.5649 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.3412, allocations: 272.4 kB / 0.5652 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3412, allocations: 18.09 kB / 0.5652 GB, free: 30.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.3413, allocations: 37.94 kB / 0.5652 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.3417, allocations: 281.9 kB / 0.5655 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3417, allocations: 9.766 kB / 0.5655 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.3417, allocations: 11.78 kB / 0.5655 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3417, allocations: 6.469 kB / 0.5655 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.3421, allocations: 181.3 kB / 0.5657 GB, free: 29.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.3434, allocations: 1.307 MB / 0.567 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.3437, allocations: 243.2 kB / 0.5672 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.3439, allocations: 101 kB / 0.5673 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3439, allocations: 3.188 kB / 0.5673 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.3439, allocations: 41.72 kB / 0.5673 GB, free: 28.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.3439, allocations: 0 / 0.5673 GB, free: 28.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.002094/0.346, allocations: 1.581 MB / 0.5689 GB, free: 27.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3461, allocations: 131.5 kB / 0.569 GB, free: 26.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.3462, allocations: 230.7 kB / 0.5692 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3462, allocations: 29.7 kB / 0.5693 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.3463, allocations: 180 kB / 0.5694 GB, free: 26.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.3464, allocations: 123.2 kB / 0.5696 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/0.3464, allocations: 80.22 kB / 0.5696 GB, free: 26.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.3465, allocations: 335.9 kB / 0.57 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.3467, allocations: 103.6 kB / 0.57 GB, free: 26.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.3469, allocations: 233.7 kB / 0.5703 GB, free: 25.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.3474, allocations: 358.4 kB / 0.5706 GB, free: 25.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3474, allocations: 7.125 kB / 0.5706 GB, free: 25.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006212/0.348, allocations: 404.4 kB / 0.571 GB, free: 25.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.348, allocations: 7.875 kB / 0.571 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.348, allocations: 4.125 kB / 0.571 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.3481, allocations: 10.47 kB / 0.571 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.3484, allocations: 95.64 kB / 0.5711 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3485, allocations: 9.719 kB / 0.5711 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.3487, allocations: 25.53 kB / 0.5712 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.3487, allocations: 22.06 kB / 0.5712 GB, free: 25.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001113/0.3488, allocations: 160.4 kB / 0.5713 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.3489, allocations: 29.47 kB / 0.5714 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.349, allocations: 35.17 kB / 0.5714 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.349, allocations: 3.688 kB / 0.5714 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.349, allocations: 2.438 kB / 0.5714 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.349, allocations: 3.719 kB / 0.5714 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.3504, allocations: 0.9854 MB / 0.5724 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3504, allocations: 1.531 kB / 0.5724 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.3507, allocations: 80.45 kB / 0.5724 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3507, allocations: 2.75 kB / 0.5724 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.3508, allocations: 10.69 kB / 0.5725 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3508, allocations: 2.75 kB / 0.5725 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3508, allocations: 1.375 kB / 0.5725 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/0.3515, allocations: 0.7289 MB / 0.5732 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.3516, allocations: 104.2 kB / 0.5733 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.3516, allocations: 12.12 kB / 0.5733 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.3519, allocations: 23.86 kB / 0.5733 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.352, allocations: 27.02 kB / 0.5733 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.352, allocations: 17.77 kB / 0.5733 GB, free: 23.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.3521, allocations: 159.4 kB / 0.5735 GB, free: 23.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3521, allocations: 0 / 0.5735 GB, free: 23.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000483/0.3526, allocations: 68.31 kB / 0.5736 GB, free: 23.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0009171/0.3535, allocations: 1.275 MB / 0.5748 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005968/0.3541, allocations: 266.5 kB / 0.5751 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3541, allocations: 0 / 0.5751 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.3543, allocations: 127.8 kB / 0.5752 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.355, allocations: 45.86 kB / 0.5752 GB, free: 22.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.3586, allocations: 3.524 MB / 0.5787 GB, free: 20.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.3588, allocations: 0.7744 MB / 0.5794 GB, free: 19.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.359, allocations: 36.25 kB / 0.5795 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3591, allocations: 94.12 kB / 0.5795 GB, free: 19.23 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3591, allocations: 0 / 0.5795 GB, free: 19.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.3884, allocations: 5.409 MB / 0.5848 GB, free: 18.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/8.997, allocations: 1.062 kB / 0.5848 GB, free: 18.52 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.767944934079424] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed1.phi', 'speed1.w', 'speed2.phi', 'speed3.s', 'speed3.v', 'speed4.s'] 9.071641005109996 9.093952599 8.74988489 Calling exit ...