Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.001427/0.001427, allocations: 121.3 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.002499/0.002499, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2341/0.2341, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3",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.00233/0.00233, allocations: 75.88 kB / 0.4912 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1319, allocations: 65.99 MB / 0.5556 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002926/0.1348, allocations: 1.675 MB / 0.5573 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002834/0.1351, allocations: 103.6 kB / 0.5574 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.1352, allocations: 4 kB / 0.5574 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.153e-05/0.1352, allocations: 15.8 kB / 0.5574 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.1353, allocations: 39.7 kB / 0.5574 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.1355, allocations: 31.95 kB / 0.5575 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1356, allocations: 123.4 kB / 0.5576 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1357, allocations: 33.05 kB / 0.5576 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1358, allocations: 51.84 kB / 0.5577 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.338e-05/0.1359, allocations: 47.78 kB / 0.5577 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.136, allocations: 8 kB / 0.5577 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.061e-05/0.136, allocations: 8 kB / 0.5577 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.136, allocations: 19.94 kB / 0.5577 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8e-05/0.1361, allocations: 63.72 kB / 0.5578 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1363, allocations: 123.5 kB / 0.5579 GB, free: 4.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1363, allocations: 0 / 0.5579 GB, free: 4.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1363, allocations: 3.938 kB / 0.5579 GB, free: 4.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1363, allocations: 0 / 0.5579 GB, free: 4.07 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005809/0.1369, allocations: 407.3 kB / 0.5583 GB, free: 3.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.1369, allocations: 8.031 kB / 0.5583 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.137, allocations: 46.73 kB / 0.5584 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.137, allocations: 12.83 kB / 0.5584 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1372, allocations: 204.1 kB / 0.5586 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1373, allocations: 12.61 kB / 0.5586 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.1373, allocations: 16.38 kB / 0.5586 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1375, allocations: 127.7 kB / 0.5587 GB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.1376, allocations: 15.88 kB / 0.5587 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1376, allocations: 7.938 kB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.1376, allocations: 4 kB / 0.5587 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1377, allocations: 55.91 kB / 0.5588 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.1385, allocations: 0.5413 MB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.1387, allocations: 77.17 kB / 0.5594 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.806e-05/0.1387, allocations: 33.66 kB / 0.5594 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1387, allocations: 4.078 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1388, allocations: 34.5 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1388, allocations: 4 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006418/0.1394, allocations: 297.5 kB / 0.5598 GB, free: 1.938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1395, allocations: 81.11 kB / 0.5598 GB, free: 1.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1396, allocations: 125.8 kB / 0.56 GB, free: 1.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1396, allocations: 25.7 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.1397, allocations: 115.9 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.1398, allocations: 35.73 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.1398, allocations: 33.66 kB / 0.5602 GB, free: 1.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.14, allocations: 322.8 kB / 0.5605 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.14, allocations: 23.98 kB / 0.5605 GB, free: 1.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1401, allocations: 88.52 kB / 0.5606 GB, free: 1.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1403, allocations: 120.5 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1403, allocations: 0 / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002964/0.1406, allocations: 171.5 kB / 0.5609 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1406, allocations: 4 kB / 0.5609 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1406, allocations: 11.92 kB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.1408, allocations: 33.7 kB / 0.5609 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1409, allocations: 31.92 kB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.1431, allocations: 2.727 MB / 0.5636 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.1432, allocations: 11.92 kB / 0.5636 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1432, allocations: 16 kB / 0.5636 GB, free: 13.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.1434, allocations: 121.8 kB / 0.5637 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.1434, allocations: 7.938 kB / 0.5637 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.1434, allocations: 11.91 kB / 0.5638 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1434, allocations: 0 / 0.5638 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1434, allocations: 8 kB / 0.5638 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1434, allocations: 7.984 kB / 0.5638 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.1437, allocations: 197.5 kB / 0.564 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.1437, allocations: 4 kB / 0.564 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.1438, allocations: 11.98 kB / 0.564 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.1439, allocations: 45.58 kB / 0.564 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1439, allocations: 3.984 kB / 0.564 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.1461, allocations: 2.726 MB / 0.5667 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1461, allocations: 4.031 kB / 0.5667 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.1464, allocations: 312.4 kB / 0.567 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.1465, allocations: 81.16 kB / 0.5671 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.1465, allocations: 3.984 kB / 0.5671 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.1466, allocations: 8 kB / 0.5671 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.1466, allocations: 7.938 kB / 0.5671 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1466, allocations: 11.98 kB / 0.5671 GB, free: 9.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.706e-05/0.1467, allocations: 87.72 kB / 0.5672 GB, free: 9.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1467, allocations: 0 / 0.5672 GB, free: 9.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.1471, allocations: 39.89 kB / 0.5672 GB, free: 9.496 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.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 (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000691/0.1478, allocations: 0.8387 MB / 0.568 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004927/0.1483, allocations: 305.5 kB / 0.5683 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1483, allocations: 0 / 0.5683 GB, free: 8.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.1485, allocations: 257.9 kB / 0.5686 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.149, allocations: 29.28 kB / 0.5686 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.1515, allocations: 1.989 MB / 0.5705 GB, free: 5.863 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1519, allocations: 0.7006 MB / 0.5712 GB, free: 5.133 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.1519, allocations: 8.875 kB / 0.5712 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.152, allocations: 27.44 kB / 0.5713 GB, free: 5.094 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.152, allocations: 8 kB / 0.5713 GB, free: 5.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.1856, allocations: 3.038 MB / 0.5742 GB, free: 2.176 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.41, allocations: 4 kB / 0.5742 GB, free: 2.172 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.419796227943152] Failed to read output from testmodel.py, exit status != 0: ['time', 'J1.phi', 'J1.w', 'J3.phi', 'J3.w'] 10.50420676311478 10.520055967 10.380587808 Calling exit ...