Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001542, allocations: 187 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 106.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3589/0.3589, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.000474, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002501/0.122, allocations: 1.436 MB / 491.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000428/0.1225, allocations: 163.5 kB / 491.9 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.944e-05/0.1226, allocations: 4 kB / 491.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.857e-05/0.1227, allocations: 23.86 kB / 491.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1229, allocations: 51.88 kB / 492 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.1231, allocations: 27.95 kB / 492 MB, free: 7.527 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.1233, allocations: 127.7 kB / 492.1 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.1235, allocations: 45.83 kB / 492.2 MB, free: 7.352 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1236, allocations: 55.8 kB / 492.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1238, allocations: 67.75 kB / 492.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.1238, allocations: 12 kB / 492.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.04e-05/0.1239, allocations: 8 kB / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.1239, allocations: 23.86 kB / 492.4 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.124, allocations: 53.64 kB / 492.4 MB, free: 7.129 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1242, allocations: 127.9 kB / 492.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1243, allocations: 0 / 492.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1243, allocations: 0 / 492.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1243, allocations: 0 / 492.5 MB, free: 7.004 MB / 330.7 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.0007158/0.125, allocations: 427.2 kB / 492.9 MB, free: 6.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1251, allocations: 8.031 kB / 493 MB, free: 6.531 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.632e-05/0.1252, allocations: 62.42 kB / 493 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.1252, allocations: 19.77 kB / 493 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1255, allocations: 202.8 kB / 493.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1255, allocations: 12.33 kB / 493.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.1256, allocations: 19.91 kB / 493.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/0.126, allocations: 165.6 kB / 493.4 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.126, allocations: 4 kB / 493.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.1261, allocations: 8 kB / 493.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.1261, allocations: 4 kB / 493.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.1264, allocations: 95.88 kB / 493.5 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.1276, allocations: 0.6189 MB / 494.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.128, allocations: 125.2 kB / 494.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.128, allocations: 192 / 494.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.1281, allocations: 42.5 kB / 494.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1281, allocations: 0 / 494.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001191/0.1293, allocations: 385.2 kB / 494.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.1294, allocations: 77.11 kB / 494.8 MB, free: 4.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1295, allocations: 133.8 kB / 494.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1296, allocations: 29.7 kB / 494.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1297, allocations: 198.4 kB / 495.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.403e-05/0.1298, allocations: 55.22 kB / 495.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.1298, allocations: 4 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1299, allocations: 326.8 kB / 495.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1301, allocations: 35.98 kB / 495.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1302, allocations: 100.5 kB / 495.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1304, allocations: 51.98 kB / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.363e-06/0.1304, allocations: 4 kB / 495.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006087/0.131, allocations: 219.5 kB / 495.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1311, allocations: 6.656 kB / 495.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1311, allocations: 4 kB / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.1314, allocations: 53.64 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.1317, allocations: 36.02 kB / 496 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.1347, allocations: 2.748 MB / 498.8 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.1349, allocations: 15.84 kB / 498.8 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.135, allocations: 12 kB / 498.8 MB, free: 156 kB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.1352, allocations: 137.9 kB / 498.9 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.1353, allocations: 7.906 kB / 498.9 MB, free: 0 / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.1354, allocations: 16.77 kB / 498.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1354, allocations: 4 kB / 498.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.1354, allocations: 0 / 498.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1354, allocations: 3.938 kB / 498.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.1359, allocations: 233.5 kB / 499.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1359, allocations: 0 / 499.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.1362, allocations: 23.98 kB / 499.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/0.1365, allocations: 53.69 kB / 499.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.1365, allocations: 4 kB / 499.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.1394, allocations: 2.728 MB / 0.4902 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1395, allocations: 0 / 0.4902 GB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/0.1402, allocations: 393.4 kB / 0.4906 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.1402, allocations: 89.08 kB / 0.4907 GB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1403, allocations: 4.062 kB / 0.4907 GB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1405, allocations: 8 kB / 0.4907 GB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.1405, allocations: 7.984 kB / 0.4907 GB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1405, allocations: 4 kB / 0.4907 GB, free: 12.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.643e-05/0.1406, allocations: 99.27 kB / 0.4908 GB, free: 11.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1407, allocations: 0 / 0.4908 GB, free: 11.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006491/0.1413, allocations: 55.84 kB / 0.4908 GB, free: 11.93 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/0.1424, allocations: 0.9828 MB / 0.4918 GB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000799/0.1432, allocations: 345.3 kB / 0.4921 GB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1433, allocations: 0 / 0.4921 GB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004715/0.1437, allocations: 285.4 kB / 0.4924 GB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.1443, allocations: 32.42 kB / 0.4924 GB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.148, allocations: 2.728 MB / 0.4951 GB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.1485, allocations: 0.732 MB / 0.4958 GB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1486, allocations: 39.42 kB / 0.4959 GB, free: 6.574 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/0.1486, allocations: 0 / 0.4959 GB, free: 6.574 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.705/2.854, allocations: 3.707 MB / 0.4995 GB, free: 2.867 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat