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.001664/0.001664, allocations: 109 kB / 20.48 MB, free: 1.477 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.002258/0.002258, allocations: 207.6 kB / 23.78 MB, free: 4.688 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.546/1.546, allocations: 207.6 MB / 234.5 MB, free: 9.984 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.2423/0.2423, allocations: 44.24 MB / 331.1 MB, free: 9.516 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.002568/0.002568, allocations: 70.56 kB / 468.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.126, allocations: 61.03 MB / 0.5169 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003375/0.1294, allocations: 1.872 MB / 0.5187 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004197/0.1298, allocations: 147.5 kB / 0.5189 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.1299, allocations: 3.938 kB / 0.5189 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.703e-05/0.13, allocations: 23.8 kB / 0.5189 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.1301, allocations: 55.48 kB / 0.5189 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.1303, allocations: 35.95 kB / 0.519 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1305, allocations: 179.2 kB / 0.5191 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1307, allocations: 45.98 kB / 0.5192 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1308, allocations: 75.72 kB / 0.5193 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.131, allocations: 75.64 kB / 0.5193 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.131, allocations: 16 kB / 0.5194 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.899e-05/0.131, allocations: 12 kB / 0.5194 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.1311, allocations: 35.91 kB / 0.5194 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.1312, allocations: 79.61 kB / 0.5195 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1314, allocations: 187.2 kB / 0.5197 GB, free: 4.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1314, allocations: 3.938 kB / 0.5197 GB, free: 4.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1314, allocations: 3.938 kB / 0.5197 GB, free: 4.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1314, allocations: 0 / 0.5197 GB, free: 4.5 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.0006814/0.1321, allocations: 382 kB / 0.52 GB, free: 4.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1322, allocations: 8.031 kB / 0.52 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.327e-05/0.1322, allocations: 8.516 kB / 0.52 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.1322, allocations: 50.73 kB / 0.5201 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.1323, allocations: 24.8 kB / 0.5201 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1325, allocations: 150.3 kB / 0.5203 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1325, allocations: 12.7 kB / 0.5203 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.1326, allocations: 16.38 kB / 0.5203 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.1329, allocations: 177.9 kB / 0.5205 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1329, allocations: 0 / 0.5205 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.133, allocations: 8 kB / 0.5205 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.133, allocations: 4 kB / 0.5205 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.1331, allocations: 87.89 kB / 0.5205 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.1341, allocations: 0.5578 MB / 0.5211 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.1343, allocations: 125.2 kB / 0.5212 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.758e-05/0.1344, allocations: 49.7 kB / 0.5213 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.1344, allocations: 0 / 0.5213 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1344, allocations: 42.55 kB / 0.5213 GB, free: 2.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1344, allocations: 0 / 0.5213 GB, free: 2.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008206/0.1353, allocations: 219.4 kB / 0.5215 GB, free: 2.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.1353, allocations: 85.11 kB / 0.5216 GB, free: 2.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.1355, allocations: 126.1 kB / 0.5217 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.1355, allocations: 29.7 kB / 0.5217 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.1356, allocations: 132.2 kB / 0.5219 GB, free: 2.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.1357, allocations: 59.48 kB / 0.5219 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.1357, allocations: 37.7 kB / 0.522 GB, free: 1.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1359, allocations: 327.2 kB / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.1359, allocations: 35.92 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1361, allocations: 108.4 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.1363, allocations: 156.4 kB / 0.5226 GB, free: 1.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1363, allocations: 7.938 kB / 0.5226 GB, free: 1.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004448/0.1367, allocations: 231.1 kB / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1367, allocations: 4 kB / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.1368, allocations: 4 kB / 0.5228 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.137, allocations: 53.94 kB / 0.5228 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1372, allocations: 35.92 kB / 0.5229 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.1398, allocations: 2.779 MB / 0.5256 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1399, allocations: 19.84 kB / 0.5256 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1399, allocations: 11.98 kB / 0.5256 GB, free: 13.86 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.0001616/0.1401, allocations: 133.7 kB / 0.5258 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.1402, allocations: 15.98 kB / 0.5258 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.1402, allocations: 16.72 kB / 0.5258 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1402, allocations: 0 / 0.5258 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1402, allocations: 4 kB / 0.5258 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1402, allocations: 0 / 0.5258 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.1406, allocations: 204.7 kB / 0.526 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1406, allocations: 0 / 0.526 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1407, allocations: 23.98 kB / 0.526 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001722/0.1409, allocations: 49.64 kB / 0.5261 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1409, allocations: 11.98 kB / 0.5261 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.1434, allocations: 2.783 MB / 0.5288 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1434, allocations: 0 / 0.5288 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.1439, allocations: 364.3 kB / 0.5291 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.1439, allocations: 8.047 kB / 0.5291 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1439, allocations: 16 kB / 0.5292 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.144, allocations: 4 kB / 0.5292 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.1441, allocations: 15.92 kB / 0.5292 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1441, allocations: 7.984 kB / 0.5292 GB, free: 9.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.458e-05/0.1442, allocations: 103.1 kB / 0.5293 GB, free: 9.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1442, allocations: 0 / 0.5293 GB, free: 9.809 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.1447, allocations: 51.89 kB / 0.5293 GB, free: 9.758 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.0008244/0.1455, allocations: 0.9008 MB / 0.5302 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.1462, allocations: 353.3 kB / 0.5305 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1462, allocations: 0 / 0.5305 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003514/0.1465, allocations: 273.3 kB / 0.5308 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.1471, allocations: 32.34 kB / 0.5308 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/0.1504, allocations: 2.355 MB / 0.5331 GB, free: 5.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1507, allocations: 0.7203 MB / 0.5338 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.1508, allocations: 13.38 kB / 0.5338 GB, free: 4.855 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.1509, allocations: 43.42 kB / 0.5339 GB, free: 4.812 MB / 414.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1509, allocations: 0 / 0.5339 GB, free: 4.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.1848, allocations: 3.961 MB / 0.5378 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/12.83, allocations: 11.14 kB / 0.5378 GB, free: 0.8477 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.34384081600001]