Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 107.6 kB / 17.21 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241.8 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 44.18 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.28 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.119, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003072/0.1221, allocations: 1.9 MB / 470.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.1224, allocations: 155.4 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.347e-05/0.1225, allocations: 0 / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.173e-05/0.1226, allocations: 15.86 kB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1227, allocations: 39.67 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.1229, allocations: 39.91 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.123, allocations: 183.1 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1232, allocations: 49.7 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/0.1233, allocations: 59.73 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1234, allocations: 67.7 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.1234, allocations: 12 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-05/0.1235, allocations: 8 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.1235, allocations: 35.83 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.1236, allocations: 75.67 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1238, allocations: 171.6 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1238, allocations: 4 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1238, allocations: 4 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1238, allocations: 0 / 471.4 MB, free: 11.93 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005394/0.1244, allocations: 447.3 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1244, allocations: 8.031 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.1245, allocations: 54.73 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.1245, allocations: 20.66 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1247, allocations: 204.2 kB / 472.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1247, allocations: 20.7 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.1248, allocations: 20.28 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.1251, allocations: 162.2 kB / 472.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1251, allocations: 7.938 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1251, allocations: 4 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1251, allocations: 4 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.1253, allocations: 91.89 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.1261, allocations: 0.6149 MB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.1263, allocations: 133.4 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.1264, allocations: 53.64 kB / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.1264, allocations: 0 / 473.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1264, allocations: 38.56 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1265, allocations: 0 / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007611/0.1272, allocations: 377.2 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1273, allocations: 77.11 kB / 473.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1274, allocations: 140.8 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1274, allocations: 29.7 kB / 473.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.1275, allocations: 128 kB / 474 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.1275, allocations: 59.19 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.1276, allocations: 41.7 kB / 474.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1277, allocations: 322.8 kB / 474.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.1278, allocations: 39.92 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.131e-05/0.1279, allocations: 100.6 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.128, allocations: 156.5 kB / 474.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1281, allocations: 0 / 474.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003532/0.1284, allocations: 235.2 kB / 475 MB, free: 8.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1284, allocations: 8 kB / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1285, allocations: 4 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001974/0.1287, allocations: 41.7 kB / 475 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1288, allocations: 43.92 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.1307, allocations: 2.728 MB / 477.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.1308, allocations: 15.88 kB / 477.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1308, allocations: 8 kB / 477.8 MB, free: 4.902 MB / 350.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.0001098/0.131, allocations: 129.9 kB / 477.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.131, allocations: 11.91 kB / 477.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.131, allocations: 12.72 kB / 478 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1311, allocations: 7.984 kB / 478 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1311, allocations: 0 / 478 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1311, allocations: 3.938 kB / 478 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1314, allocations: 237.4 kB / 478.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1314, allocations: 0 / 478.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1315, allocations: 32.08 kB / 478.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.1317, allocations: 53.67 kB / 478.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1317, allocations: 4 kB / 478.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.1338, allocations: 2.712 MB / 481 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1338, allocations: 4.219 kB / 481 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.1343, allocations: 372.4 kB / 481.4 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.1343, allocations: 92.94 kB / 481.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1344, allocations: 12 kB / 481.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1345, allocations: 0 / 481.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.1345, allocations: 19.92 kB / 481.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1345, allocations: 4 kB / 481.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.507e-05/0.1346, allocations: 99.2 kB / 481.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 481.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004462/0.1351, allocations: 55.91 kB / 481.6 MB, free: 0.6875 MB / 350.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.0007921/0.1359, allocations: 0.9052 MB / 482.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.1364, allocations: 357.5 kB / 482.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1365, allocations: 0 / 482.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.1367, allocations: 281.3 kB / 483.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.1373, allocations: 27.98 kB / 483.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.1398, allocations: 2.373 MB / 485.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1401, allocations: 0.7242 MB / 486.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.357e-05/0.1401, allocations: 9.422 kB / 486.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.1402, allocations: 43.42 kB / 486.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1402, allocations: 0 / 486.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.1561, allocations: 3.502 MB / 489.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.1563, allocations: 250.7 kB / 490.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.057, allocations: 4 kB / 490.1 MB, free: 8.137 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches