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.00188/0.00188, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.002221/0.002221, allocations: 214.2 kB / 22.98 MB, free: 4.473 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.461/1.461, allocations: 207.7 MB / 233.8 MB, free: 9.777 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.3462/0.3462, allocations: 44.26 MB / 330.3 MB, free: 9.305 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.002323/0.002323, allocations: 71.89 kB / 467.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1341, allocations: 61.04 MB / 0.5161 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003514/0.1376, allocations: 1.779 MB / 0.5179 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.138, allocations: 143.5 kB / 0.518 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.1381, allocations: 4 kB / 0.518 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.323e-05/0.1382, allocations: 27.72 kB / 0.518 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1383, allocations: 51.55 kB / 0.5181 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.1385, allocations: 39.94 kB / 0.5181 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1387, allocations: 191.1 kB / 0.5183 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1388, allocations: 42 kB / 0.5183 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1389, allocations: 71.77 kB / 0.5184 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.139, allocations: 63.64 kB / 0.5185 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.1391, allocations: 16 kB / 0.5185 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-05/0.1391, allocations: 12 kB / 0.5185 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.1391, allocations: 27.92 kB / 0.5185 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.033e-05/0.1392, allocations: 79.59 kB / 0.5186 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.1395, allocations: 183.2 kB / 0.5188 GB, free: 4.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1395, allocations: 0 / 0.5188 GB, free: 4.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1395, allocations: 4 kB / 0.5188 GB, free: 4.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1395, allocations: 0 / 0.5188 GB, free: 4.469 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.0006452/0.1401, allocations: 378 kB / 0.5191 GB, free: 4.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1402, allocations: 8.031 kB / 0.5192 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.1402, allocations: 46.73 kB / 0.5192 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1403, allocations: 24.8 kB / 0.5192 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.1405, allocations: 158.2 kB / 0.5194 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1405, allocations: 8.703 kB / 0.5194 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.279e-05/0.1406, allocations: 20.31 kB / 0.5194 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.1409, allocations: 170.1 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.1409, allocations: 11.94 kB / 0.5196 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.1409, allocations: 8 kB / 0.5196 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1409, allocations: 4 kB / 0.5196 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1411, allocations: 79.95 kB / 0.5197 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.142, allocations: 0.5306 MB / 0.5202 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.1423, allocations: 133.2 kB / 0.5203 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.1424, allocations: 45.7 kB / 0.5203 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1424, allocations: 0 / 0.5203 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.1424, allocations: 46.67 kB / 0.5204 GB, free: 2.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.1424, allocations: 0 / 0.5204 GB, free: 2.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000739/0.1431, allocations: 215.1 kB / 0.5206 GB, free: 2.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.1432, allocations: 89.09 kB / 0.5207 GB, free: 2.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1433, allocations: 130.1 kB / 0.5208 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1434, allocations: 25.7 kB / 0.5208 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.1434, allocations: 128.2 kB / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.1435, allocations: 63.47 kB / 0.521 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.1436, allocations: 42.08 kB / 0.5211 GB, free: 1.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1437, allocations: 322.8 kB / 0.5214 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.1438, allocations: 35.98 kB / 0.5214 GB, free: 1.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1439, allocations: 112.3 kB / 0.5215 GB, free: 1.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.1441, allocations: 156.5 kB / 0.5217 GB, free: 1.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1441, allocations: 4 kB / 0.5217 GB, free: 1.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004004/0.1445, allocations: 219.1 kB / 0.5219 GB, free: 1.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1446, allocations: 8 kB / 0.5219 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1446, allocations: 0 / 0.5219 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.1448, allocations: 57.62 kB / 0.5219 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.145, allocations: 31.98 kB / 0.522 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.1475, allocations: 2.776 MB / 0.5247 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.1476, allocations: 19.84 kB / 0.5247 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1476, allocations: 8 kB / 0.5247 GB, free: 13.88 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.0001407/0.1477, allocations: 137.7 kB / 0.5248 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.1478, allocations: 8.109 kB / 0.5248 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.1478, allocations: 24.66 kB / 0.5249 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1478, allocations: 4 kB / 0.5249 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1478, allocations: 0 / 0.5249 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1478, allocations: 0 / 0.5249 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.1481, allocations: 196.6 kB / 0.5251 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1481, allocations: 96 / 0.5251 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1483, allocations: 27.92 kB / 0.5251 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.1484, allocations: 53.67 kB / 0.5251 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.1484, allocations: 7.938 kB / 0.5251 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/0.1508, allocations: 2.771 MB / 0.5278 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1508, allocations: 0 / 0.5278 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.1513, allocations: 372.6 kB / 0.5282 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.1513, allocations: 19.88 kB / 0.5282 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1513, allocations: 0 / 0.5282 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1514, allocations: 8 kB / 0.5282 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.1515, allocations: 11.98 kB / 0.5282 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.1515, allocations: 4 kB / 0.5282 GB, free: 9.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.1515, allocations: 110.8 kB / 0.5283 GB, free: 9.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1515, allocations: 0 / 0.5283 GB, free: 9.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000459/0.152, allocations: 51.95 kB / 0.5284 GB, free: 9.781 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.0008467/0.1529, allocations: 0.8969 MB / 0.5293 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006155/0.1535, allocations: 345.2 kB / 0.5296 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1535, allocations: 0 / 0.5296 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.1538, allocations: 285.8 kB / 0.5299 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.1543, allocations: 43.89 kB / 0.5299 GB, free: 8.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.1573, allocations: 2.331 MB / 0.5322 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.1574, allocations: 120 kB / 0.5323 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.951e-05/0.1575, allocations: 13.44 kB / 0.5323 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.1575, allocations: 39.42 kB / 0.5324 GB, free: 5.465 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1575, allocations: 0 / 0.5324 GB, free: 5.465 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.1943, allocations: 4.409 MB / 0.5367 GB, free: 1.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.02, allocations: 0 / 0.5367 GB, free: 1.059 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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] "Error: Could not read variable inertia1.phi in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.551685253158212]