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.001731/0.001731, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.00206/0.00206, allocations: 215.5 kB / 23.01 MB, free: 5.004 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.476/1.476, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2325/0.2325, allocations: 44.24 MB / 330.3 MB, free: 9.613 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="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.003337/0.003337, allocations: 71.89 kB / 467.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1378, allocations: 61.03 MB / 0.5161 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003405/0.1412, allocations: 1.873 MB / 0.518 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004023/0.1416, allocations: 155.4 kB / 0.5181 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.1417, allocations: 4 kB / 0.5181 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.851e-05/0.1418, allocations: 23.72 kB / 0.5181 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.1419, allocations: 51.56 kB / 0.5182 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.1421, allocations: 35.95 kB / 0.5182 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1423, allocations: 183.1 kB / 0.5184 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1424, allocations: 45.98 kB / 0.5184 GB, free: 5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1426, allocations: 71.78 kB / 0.5185 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.1427, allocations: 79.58 kB / 0.5186 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1427, allocations: 12 kB / 0.5186 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.962e-05/0.1428, allocations: 16 kB / 0.5186 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.1428, allocations: 31.91 kB / 0.5186 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1429, allocations: 91.59 kB / 0.5187 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1432, allocations: 179.2 kB / 0.5189 GB, free: 4.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1432, allocations: 3.984 kB / 0.5189 GB, free: 4.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1432, allocations: 0 / 0.5189 GB, free: 4.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1432, allocations: 0 / 0.5189 GB, free: 4.523 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.0006588/0.1438, allocations: 370 kB / 0.5193 GB, free: 4.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1439, allocations: 11.97 kB / 0.5193 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.903e-05/0.1439, allocations: 54.73 kB / 0.5193 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.144, allocations: 20.8 kB / 0.5193 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1442, allocations: 150.3 kB / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1442, allocations: 16.7 kB / 0.5195 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.463e-05/0.1443, allocations: 16.31 kB / 0.5195 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.1446, allocations: 170.1 kB / 0.5197 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1446, allocations: 3.938 kB / 0.5197 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1446, allocations: 8 kB / 0.5197 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1446, allocations: 4 kB / 0.5197 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.1448, allocations: 91.94 kB / 0.5198 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/0.1457, allocations: 0.5578 MB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.1459, allocations: 129.1 kB / 0.5204 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.146, allocations: 57.64 kB / 0.5205 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.146, allocations: 0 / 0.5205 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.146, allocations: 38.69 kB / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.146, allocations: 0 / 0.5205 GB, free: 2.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007767/0.1468, allocations: 227.2 kB / 0.5208 GB, free: 2.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.1469, allocations: 81.11 kB / 0.5208 GB, free: 2.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.147, allocations: 126.1 kB / 0.521 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.1471, allocations: 29.7 kB / 0.521 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1472, allocations: 128.2 kB / 0.5211 GB, free: 2.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/0.1473, allocations: 67.47 kB / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.1473, allocations: 33.72 kB / 0.5212 GB, free: 1.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.1476, allocations: 322.8 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.1476, allocations: 35.98 kB / 0.5215 GB, free: 1.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1478, allocations: 116.4 kB / 0.5217 GB, free: 1.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.148, allocations: 148.5 kB / 0.5218 GB, free: 1.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.148, allocations: 0 / 0.5218 GB, free: 1.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004909/0.1485, allocations: 223.3 kB / 0.522 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.1485, allocations: 16.23 kB / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1485, allocations: 0 / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.1487, allocations: 53.58 kB / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1489, allocations: 32.08 kB / 0.5221 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/0.1518, allocations: 2.783 MB / 0.5248 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.1519, allocations: 19.84 kB / 0.5248 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.1519, allocations: 8 kB / 0.5248 GB, free: 13.89 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.0001396/0.1521, allocations: 141.8 kB / 0.525 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.1521, allocations: 11.95 kB / 0.525 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.1522, allocations: 20.64 kB / 0.525 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.1522, allocations: 4 kB / 0.525 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1522, allocations: 0 / 0.525 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1522, allocations: 0 / 0.525 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1525, allocations: 200.7 kB / 0.5252 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1525, allocations: 0 / 0.5252 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1527, allocations: 27.92 kB / 0.5252 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.1528, allocations: 53.69 kB / 0.5253 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1528, allocations: 7.938 kB / 0.5253 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.1557, allocations: 2.779 MB / 0.528 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1557, allocations: 0 / 0.528 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.1562, allocations: 368.4 kB / 0.5284 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.1562, allocations: 7.953 kB / 0.5284 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.1562, allocations: 8.188 kB / 0.5284 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.1563, allocations: 7.938 kB / 0.5284 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.1564, allocations: 15.97 kB / 0.5284 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1564, allocations: 4 kB / 0.5284 GB, free: 9.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.93e-05/0.1565, allocations: 103.1 kB / 0.5285 GB, free: 9.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1565, allocations: 0 / 0.5285 GB, free: 9.848 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004915/0.1569, allocations: 59.89 kB / 0.5286 GB, free: 9.789 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.0009201/0.1579, allocations: 0.9046 MB / 0.5294 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006183/0.1585, allocations: 341.2 kB / 0.5298 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1585, allocations: 0 / 0.5298 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.159, allocations: 293.9 kB / 0.53 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.0005178/0.1595, allocations: 24.23 kB / 0.5301 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.1628, allocations: 2.342 MB / 0.5324 GB, free: 5.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1632, allocations: 0.7281 MB / 0.5331 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.1633, allocations: 9.422 kB / 0.5331 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.1633, allocations: 43.42 kB / 0.5331 GB, free: 4.848 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1633, allocations: 0 / 0.5331 GB, free: 4.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.2025, allocations: 3.932 MB / 0.537 GB, free: 0.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.09, allocations: 7.891 kB / 0.537 GB, free: 0.9102 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.255410887068138]