Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.001738/0.001738, allocations: 120.4 kB / 18.45 MB, free: 4.594 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.002061/0.002061, allocations: 204.9 kB / 21.41 MB, free: 1.645 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.561/1.561, allocations: 227.4 MB / 251.7 MB, free: 40 kB / 190.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.2556/0.2556, allocations: 46.15 MB / 351.1 MB, free: 14.29 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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.002593/0.002593, allocations: 80.89 kB / 489.6 MB, free: 28.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1274, allocations: 62.45 MB / 0.5391 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003595/0.1311, allocations: 1.867 MB / 0.541 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000478/0.1316, allocations: 147.5 kB / 0.5411 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.1318, allocations: 4 kB / 0.5411 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.366e-05/0.1319, allocations: 23.73 kB / 0.5411 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1321, allocations: 55.55 kB / 0.5412 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.1323, allocations: 43.88 kB / 0.5412 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.1325, allocations: 183.1 kB / 0.5414 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1327, allocations: 57.52 kB / 0.5415 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1329, allocations: 71.77 kB / 0.5415 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.133, allocations: 71.7 kB / 0.5416 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.1331, allocations: 12 kB / 0.5416 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.1331, allocations: 16 kB / 0.5416 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.1332, allocations: 31.86 kB / 0.5417 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1333, allocations: 91.59 kB / 0.5417 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.1336, allocations: 179.5 kB / 0.5419 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1336, allocations: 0 / 0.5419 GB, free: 1.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1336, allocations: 0 / 0.5419 GB, free: 1.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1336, allocations: 0 / 0.5419 GB, free: 1.926 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007163/0.1343, allocations: 459 kB / 0.5423 GB, free: 1.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.1344, allocations: 8.031 kB / 0.5424 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.934e-05/0.1345, allocations: 54.73 kB / 0.5424 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.1345, allocations: 20.84 kB / 0.5424 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1348, allocations: 212 kB / 0.5426 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1348, allocations: 16.7 kB / 0.5426 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.1349, allocations: 16.33 kB / 0.5427 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.1352, allocations: 170.1 kB / 0.5428 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.1352, allocations: 3.938 kB / 0.5428 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1353, allocations: 8 kB / 0.5428 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1353, allocations: 4 kB / 0.5428 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1355, allocations: 91.94 kB / 0.5429 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.1364, allocations: 0.6112 MB / 0.5435 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.1367, allocations: 129.2 kB / 0.5436 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/0.1368, allocations: 53.7 kB / 0.5437 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1368, allocations: 4 kB / 0.5437 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1369, allocations: 34.56 kB / 0.5437 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.1369, allocations: 0 / 0.5437 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009015/0.1378, allocations: 381.4 kB / 0.5441 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.1379, allocations: 81.05 kB / 0.5442 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.138, allocations: 130.8 kB / 0.5443 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.138, allocations: 29.7 kB / 0.5443 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.1381, allocations: 132.2 kB / 0.5445 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.1382, allocations: 59.48 kB / 0.5445 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.1383, allocations: 41.7 kB / 0.5446 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1384, allocations: 322.8 kB / 0.5449 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.1385, allocations: 35.98 kB / 0.5449 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1387, allocations: 104.6 kB / 0.545 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1389, allocations: 160.4 kB / 0.5451 GB, free: 14.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1389, allocations: 0 / 0.5451 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004345/0.1393, allocations: 227.4 kB / 0.5454 GB, free: 14.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1394, allocations: 4 kB / 0.5454 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1394, allocations: 4 kB / 0.5454 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.1396, allocations: 49.69 kB / 0.5454 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1398, allocations: 40.39 kB / 0.5455 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.1425, allocations: 2.991 MB / 0.5484 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1427, allocations: 15.92 kB / 0.5484 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.1427, allocations: 8 kB / 0.5484 GB, free: 10.61 MB / 414.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 (20): * 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: 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.1429, allocations: 144.4 kB / 0.5485 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.1429, allocations: 23.78 kB / 0.5486 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.143, allocations: 16.66 kB / 0.5486 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.143, allocations: 4 kB / 0.5486 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.143, allocations: 3.984 kB / 0.5486 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.143, allocations: 4 kB / 0.5486 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.1434, allocations: 217.6 kB / 0.5488 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1434, allocations: 0 / 0.5488 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1435, allocations: 35.98 kB / 0.5488 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001795/0.1437, allocations: 49.62 kB / 0.5489 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.1438, allocations: 3.938 kB / 0.5489 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.1464, allocations: 2.99 MB / 0.5518 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.1464, allocations: 3.938 kB / 0.5518 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.1469, allocations: 376.5 kB / 0.5522 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.147, allocations: 85.06 kB / 0.5522 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.147, allocations: 4 kB / 0.5522 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1472, allocations: 11.98 kB / 0.5523 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1472, allocations: 7.984 kB / 0.5523 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1472, allocations: 4 kB / 0.5523 GB, free: 6.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.728e-05/0.1473, allocations: 105 kB / 0.5524 GB, free: 6.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1473, allocations: 0 / 0.5524 GB, free: 6.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.1478, allocations: 59.89 kB / 0.5524 GB, free: 6.105 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * 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 (10): * Single equations (assignments): 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008497/0.1487, allocations: 0.8968 MB / 0.5533 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.1493, allocations: 349.2 kB / 0.5536 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1494, allocations: 0 / 0.5536 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003567/0.1497, allocations: 289.8 kB / 0.5539 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.1503, allocations: 36.23 kB / 0.5539 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/0.1535, allocations: 2.322 MB / 0.5562 GB, free: 1.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.1539, allocations: 0.7319 MB / 0.5569 GB, free: 1.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.265e-05/0.154, allocations: 13.42 kB / 0.5569 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.1541, allocations: 39.42 kB / 0.557 GB, free: 1.18 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1541, allocations: 0 / 0.557 GB, free: 1.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/0.1932, allocations: 3.76 MB / 0.5607 GB, free: 13.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.85, allocations: 11.78 kB / 0.5607 GB, free: 13.58 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.004556294064969] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w'] 10.937639348208904 10.967388561 10.828671803 Calling exit ...