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.00136/0.00136, allocations: 106.4 kB / 17.33 MB, free: 5.996 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.001068/0.001068, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.371/1.371, allocations: 222.9 MB / 241.9 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.2143/0.2143, allocations: 44.17 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 60.31 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1172, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003025/0.1203, allocations: 1.9 MB / 470.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003717/0.1207, allocations: 155.4 kB / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.782e-05/0.1208, allocations: 0 / 470.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.759e-05/0.1209, allocations: 19.84 kB / 470.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.121, allocations: 43.69 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.1212, allocations: 31.97 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1214, allocations: 187.1 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1216, allocations: 61.38 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1217, allocations: 71.72 kB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1218, allocations: 71.7 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.1218, allocations: 16 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.1219, allocations: 16 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.1219, allocations: 35.84 kB / 471.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/0.122, allocations: 79.67 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1222, allocations: 179.6 kB / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1222, allocations: 0 / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1222, allocations: 0 / 471.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1222, allocations: 0 / 471.7 MB, free: 11.76 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.0005203/0.1227, allocations: 447.3 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1228, allocations: 16.03 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.1229, allocations: 50.73 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.1229, allocations: 20.66 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1231, allocations: 204.2 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1231, allocations: 16.7 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.1232, allocations: 20.28 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.1234, allocations: 162.2 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.1235, allocations: 7.938 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1235, allocations: 8 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.1235, allocations: 7.984 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.1237, allocations: 95.88 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.1245, allocations: 0.6033 MB / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1247, allocations: 133.1 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.1248, allocations: 49.89 kB / 473.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1248, allocations: 11.88 kB / 473.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.1248, allocations: 38.56 kB / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.1248, allocations: 0 / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007742/0.1256, allocations: 381.2 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1257, allocations: 77.11 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1258, allocations: 136.7 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1258, allocations: 29.7 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.1259, allocations: 120.1 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.1259, allocations: 59.19 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.126, allocations: 37.72 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.1261, allocations: 326.8 kB / 474.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.1262, allocations: 35.98 kB / 474.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.1263, allocations: 108.2 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.1265, allocations: 156.6 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1265, allocations: 8 kB / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003631/0.1268, allocations: 227.2 kB / 475.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1269, allocations: 4.094 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1269, allocations: 7.938 kB / 475.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.1271, allocations: 53.94 kB / 475.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1272, allocations: 39.92 kB / 475.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.1293, allocations: 2.99 MB / 478.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.013e-05/0.1294, allocations: 11.88 kB / 478.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1294, allocations: 12 kB / 478.3 MB, free: 4.453 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.0001019/0.1295, allocations: 129.9 kB / 478.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.1296, allocations: 11.91 kB / 478.4 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.1296, allocations: 20.64 kB / 478.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1296, allocations: 4 kB / 478.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1296, allocations: 0 / 478.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1296, allocations: 0 / 478.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.1299, allocations: 229.5 kB / 478.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1299, allocations: 7.938 kB / 478.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.1301, allocations: 31.98 kB / 478.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.1302, allocations: 45.69 kB / 478.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1303, allocations: 3.938 kB / 478.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.1322, allocations: 2.986 MB / 481.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1322, allocations: 11.95 kB / 481.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.1326, allocations: 376.1 kB / 482.1 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.1326, allocations: 92.94 kB / 482.2 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1327, allocations: 0 / 482.2 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1328, allocations: 16.06 kB / 482.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.1328, allocations: 7.984 kB / 482.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.1328, allocations: 7.938 kB / 482.3 MB, free: 112 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.194e-05/0.1329, allocations: 99.27 kB / 482.4 MB, free: 12 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1329, allocations: 0 / 482.4 MB, free: 12 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004798/0.1334, allocations: 55.95 kB / 482.4 MB, free: 15.95 MB / 366.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.0008232/0.1342, allocations: 0.901 MB / 483.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000642/0.1349, allocations: 357.5 kB / 483.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1349, allocations: 3.938 kB / 483.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.1352, allocations: 277.3 kB / 483.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.1358, allocations: 39.91 kB / 484 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.1387, allocations: 2.375 MB / 486.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1391, allocations: 0.7242 MB / 487.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.364e-05/0.1392, allocations: 9.422 kB / 487.1 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.1393, allocations: 43.42 kB / 487.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1393, allocations: 0 / 487.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1643, allocations: 3.608 MB / 490.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.1645, allocations: 250.7 kB / 491 MB, free: 7.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.074, allocations: 0 / 491 MB, free: 7.316 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