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.001301/0.001301, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001521/0.001521, allocations: 212.9 kB / 22.99 MB, free: 4.605 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.46/1.46, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2334/0.2334, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",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.002629/0.002629, allocations: 70.41 kB / 467.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1247, allocations: 61.03 MB / 0.5161 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003505/0.1282, allocations: 1.791 MB / 0.5179 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005494/0.1288, allocations: 147.5 kB / 0.518 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1289, allocations: 4 kB / 0.518 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.08e-05/0.129, allocations: 27.72 kB / 0.518 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.1292, allocations: 51.55 kB / 0.5181 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.1294, allocations: 31.97 kB / 0.5181 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.1296, allocations: 187.1 kB / 0.5183 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.1298, allocations: 45.98 kB / 0.5183 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.13, allocations: 71.78 kB / 0.5184 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1301, allocations: 59.7 kB / 0.5185 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.1302, allocations: 15.98 kB / 0.5185 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.793e-05/0.1302, allocations: 16 kB / 0.5185 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.1302, allocations: 31.91 kB / 0.5185 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1303, allocations: 75.61 kB / 0.5186 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.1306, allocations: 187.2 kB / 0.5188 GB, free: 4.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1306, allocations: 0 / 0.5188 GB, free: 4.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1306, allocations: 0 / 0.5188 GB, free: 4.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.1306, allocations: 0 / 0.5188 GB, free: 4.473 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.0006875/0.1313, allocations: 374 kB / 0.5191 GB, free: 4.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1314, allocations: 8.031 kB / 0.5192 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.1314, allocations: 50.73 kB / 0.5192 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.1315, allocations: 24.8 kB / 0.5192 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.1317, allocations: 150.2 kB / 0.5194 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1317, allocations: 12.7 kB / 0.5194 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.1318, allocations: 16.38 kB / 0.5194 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.1321, allocations: 174.1 kB / 0.5196 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.1322, allocations: 3.938 kB / 0.5196 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1322, allocations: 16 kB / 0.5196 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1322, allocations: 4 kB / 0.5196 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.1324, allocations: 83.94 kB / 0.5197 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009171/0.1333, allocations: 0.5267 MB / 0.5202 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.1336, allocations: 133.1 kB / 0.5203 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.948e-05/0.1336, allocations: 53.64 kB / 0.5204 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.1337, allocations: 0 / 0.5204 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1337, allocations: 38.69 kB / 0.5204 GB, free: 2.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 4.538e-06/0.1337, allocations: 4 kB / 0.5204 GB, free: 2.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007869/0.1345, allocations: 219.2 kB / 0.5206 GB, free: 2.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.1346, allocations: 81.11 kB / 0.5207 GB, free: 2.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1347, allocations: 130.1 kB / 0.5208 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1347, allocations: 33.7 kB / 0.5208 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.1348, allocations: 128.2 kB / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.1349, allocations: 59.48 kB / 0.521 GB, free: 1.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.1349, allocations: 37.7 kB / 0.5211 GB, free: 1.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1351, allocations: 326.8 kB / 0.5214 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.1352, allocations: 35.98 kB / 0.5214 GB, free: 1.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1353, allocations: 104.4 kB / 0.5215 GB, free: 1.434 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.1355, allocations: 156.4 kB / 0.5216 GB, free: 1.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1355, allocations: 4 kB / 0.5217 GB, free: 1.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004186/0.1359, allocations: 223.5 kB / 0.5219 GB, free: 1.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.1359, allocations: 12.06 kB / 0.5219 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.136, allocations: 0 / 0.5219 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.1362, allocations: 53.62 kB / 0.5219 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1363, allocations: 36.08 kB / 0.522 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.1389, allocations: 2.783 MB / 0.5247 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.139, allocations: 15.84 kB / 0.5247 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.139, allocations: 12 kB / 0.5247 GB, free: 13.87 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.0001547/0.1392, allocations: 133.7 kB / 0.5248 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.1392, allocations: 7.953 kB / 0.5248 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.1393, allocations: 24.64 kB / 0.5249 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1393, allocations: 4.125 kB / 0.5249 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.1393, allocations: 4 kB / 0.5249 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1393, allocations: 0 / 0.5249 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.1396, allocations: 196.6 kB / 0.5251 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1396, allocations: 0 / 0.5251 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.1398, allocations: 27.92 kB / 0.5251 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/0.1399, allocations: 45.7 kB / 0.5251 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.14, allocations: 7.938 kB / 0.5251 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.1425, allocations: 2.775 MB / 0.5278 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1425, allocations: 0 / 0.5278 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.143, allocations: 364.3 kB / 0.5282 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.143, allocations: 12.02 kB / 0.5282 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.143, allocations: 4.219 kB / 0.5282 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1431, allocations: 7.938 kB / 0.5282 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.1432, allocations: 15.97 kB / 0.5282 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1432, allocations: 0 / 0.5282 GB, free: 9.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1433, allocations: 111 kB / 0.5283 GB, free: 9.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1433, allocations: 0 / 0.5283 GB, free: 9.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.1438, allocations: 47.95 kB / 0.5284 GB, free: 9.797 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.000795/0.1446, allocations: 0.9048 MB / 0.5293 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.1452, allocations: 345.3 kB / 0.5296 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1452, allocations: 0 / 0.5296 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.1455, allocations: 297.4 kB / 0.5299 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.146, allocations: 36.42 kB / 0.5299 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.1489, allocations: 2.323 MB / 0.5322 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.149, allocations: 116.1 kB / 0.5323 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.938e-05/0.1491, allocations: 13.42 kB / 0.5323 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.1492, allocations: 47.42 kB / 0.5324 GB, free: 5.473 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1492, allocations: 0 / 0.5324 GB, free: 5.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/0.1852, allocations: 4.409 MB / 0.5367 GB, free: 1.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.93, allocations: 0 / 0.5367 GB, free: 1.066 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.175866873934865]