Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 101.9 kB / 20.48 MB, free: 1.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002224/0.002224, allocations: 221.9 kB / 23.78 MB, free: 4.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 207.7 MB / 234.6 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2391/0.2391, allocations: 44.26 MB / 331.1 MB, free: 9.32 MB / 270.1 MB " [Timeout remaining time 179] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 70.39 kB / 468.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1224, allocations: 61.04 MB / 0.5169 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003355/0.1258, allocations: 1.778 MB / 0.5186 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004151/0.1262, allocations: 147.5 kB / 0.5188 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.1263, allocations: 11.94 kB / 0.5188 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.833e-05/0.1264, allocations: 19.78 kB / 0.5188 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1265, allocations: 51.55 kB / 0.5189 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.1267, allocations: 35.91 kB / 0.5189 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.1269, allocations: 183.1 kB / 0.5191 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.1271, allocations: 45.98 kB / 0.5191 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1272, allocations: 75.72 kB / 0.5192 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1273, allocations: 75.69 kB / 0.5193 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.1274, allocations: 12 kB / 0.5193 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.63e-05/0.1274, allocations: 20 kB / 0.5193 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.1275, allocations: 35.84 kB / 0.5193 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.999e-05/0.1276, allocations: 67.73 kB / 0.5194 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.1279, allocations: 183.2 kB / 0.5196 GB, free: 4.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1279, allocations: 0 / 0.5196 GB, free: 4.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1279, allocations: 4 kB / 0.5196 GB, free: 4.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.1279, allocations: 0 / 0.5196 GB, free: 4.449 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.0007169/0.1286, allocations: 366 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.1286, allocations: 12.03 kB / 0.5199 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.255e-05/0.1287, allocations: 12.45 kB / 0.5199 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.074e-05/0.1287, allocations: 54.67 kB / 0.52 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.1288, allocations: 20.8 kB / 0.52 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1291, allocations: 146.3 kB / 0.5201 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1291, allocations: 16.7 kB / 0.5202 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.1291, allocations: 16.38 kB / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.1295, allocations: 173.9 kB / 0.5203 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1295, allocations: 0 / 0.5203 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.1295, allocations: 12 kB / 0.5204 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1295, allocations: 4 kB / 0.5204 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.1297, allocations: 87.88 kB / 0.5204 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009316/0.1306, allocations: 0.5306 MB / 0.521 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.1309, allocations: 133.1 kB / 0.5211 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.131, allocations: 53.83 kB / 0.5211 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.131, allocations: 0 / 0.5211 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.131, allocations: 34.56 kB / 0.5212 GB, free: 2.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.131, allocations: 0 / 0.5212 GB, free: 2.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008174/0.1318, allocations: 227 kB / 0.5214 GB, free: 2.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.1319, allocations: 81.11 kB / 0.5215 GB, free: 2.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.132, allocations: 126.1 kB / 0.5216 GB, free: 2.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1321, allocations: 29.7 kB / 0.5216 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1322, allocations: 132.2 kB / 0.5217 GB, free: 2.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.1322, allocations: 63.48 kB / 0.5218 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.1323, allocations: 37.7 kB / 0.5218 GB, free: 1.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1325, allocations: 326.8 kB / 0.5221 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.1325, allocations: 35.98 kB / 0.5222 GB, free: 1.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1327, allocations: 108.4 kB / 0.5223 GB, free: 1.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.1329, allocations: 148.5 kB / 0.5224 GB, free: 1.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1329, allocations: 4 kB / 0.5224 GB, free: 1.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004245/0.1333, allocations: 226.9 kB / 0.5226 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1333, allocations: 8 kB / 0.5227 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1334, allocations: 3.938 kB / 0.5227 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.1336, allocations: 53.94 kB / 0.5227 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1338, allocations: 40.39 kB / 0.5227 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.1364, allocations: 2.772 MB / 0.5255 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1365, allocations: 19.91 kB / 0.5255 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1366, allocations: 12 kB / 0.5255 GB, free: 13.84 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.0001641/0.1367, allocations: 129.8 kB / 0.5256 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.1368, allocations: 15.83 kB / 0.5256 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.1368, allocations: 20.7 kB / 0.5256 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1368, allocations: 0 / 0.5256 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.1368, allocations: 4 kB / 0.5256 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1368, allocations: 0 / 0.5256 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.1372, allocations: 196.6 kB / 0.5258 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1372, allocations: 0 / 0.5258 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.1373, allocations: 23.98 kB / 0.5259 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.1375, allocations: 49.64 kB / 0.5259 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1375, allocations: 4 kB / 0.5259 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.1399, allocations: 2.783 MB / 0.5286 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1399, allocations: 0 / 0.5286 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.1404, allocations: 364.3 kB / 0.529 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.1404, allocations: 12.02 kB / 0.529 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1404, allocations: 3.938 kB / 0.529 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1405, allocations: 7.984 kB / 0.529 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1406, allocations: 15.92 kB / 0.529 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1406, allocations: 4.156 kB / 0.529 GB, free: 9.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.974e-05/0.1406, allocations: 106.8 kB / 0.5291 GB, free: 9.816 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1406, allocations: 0 / 0.5291 GB, free: 9.816 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005121/0.1412, allocations: 51.89 kB / 0.5292 GB, free: 9.766 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.0008704/0.142, allocations: 0.901 MB / 0.53 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006702/0.1427, allocations: 345.5 kB / 0.5304 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1427, allocations: 0 / 0.5304 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.1431, allocations: 293.3 kB / 0.5307 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006064/0.1437, allocations: 32.3 kB / 0.5307 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.1468, allocations: 2.335 MB / 0.533 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.1469, allocations: 112.1 kB / 0.5331 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.891e-05/0.147, allocations: 13.41 kB / 0.5331 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.147, allocations: 47.42 kB / 0.5331 GB, free: 5.445 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.147, allocations: 0 / 0.5331 GB, free: 5.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.1805, allocations: 4.111 MB / 0.5371 GB, free: 1.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.71, allocations: 7.875 kB / 0.5372 GB, free: 1.324 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.585158932954073]