Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 112.8 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 193.2 kB / 21.44 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2704/0.2704, allocations: 44.91 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002877/0.002877, allocations: 63.52 kB / 491.8 MB, free: 29.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1373, allocations: 64.26 MB / 0.543 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003392/0.1407, allocations: 1.856 MB / 0.5448 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004244/0.1412, allocations: 147.4 kB / 0.5449 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.213e-05/0.1412, allocations: 4 kB / 0.5449 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.839e-05/0.1413, allocations: 15.8 kB / 0.545 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.1415, allocations: 59.48 kB / 0.545 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.1417, allocations: 43.94 kB / 0.5451 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.1419, allocations: 187.1 kB / 0.5452 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1421, allocations: 41.53 kB / 0.5453 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1422, allocations: 71.78 kB / 0.5453 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1423, allocations: 67.7 kB / 0.5454 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.1423, allocations: 16 kB / 0.5454 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.835e-05/0.1424, allocations: 12 kB / 0.5454 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.1424, allocations: 39.84 kB / 0.5455 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.639e-05/0.1425, allocations: 83.66 kB / 0.5456 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.1428, allocations: 187.5 kB / 0.5457 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1428, allocations: 0 / 0.5457 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1428, allocations: 4 kB / 0.5457 GB, free: 1.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1428, allocations: 0 / 0.5457 GB, free: 1.289 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.0006893/0.1435, allocations: 455 kB / 0.5462 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1435, allocations: 12.03 kB / 0.5462 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.1436, allocations: 46.73 kB / 0.5462 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1436, allocations: 16.84 kB / 0.5462 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1438, allocations: 208.1 kB / 0.5464 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1439, allocations: 12.7 kB / 0.5465 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.1439, allocations: 24.38 kB / 0.5465 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.1442, allocations: 162.2 kB / 0.5466 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.1442, allocations: 11.89 kB / 0.5466 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1442, allocations: 4 kB / 0.5466 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1442, allocations: 7.938 kB / 0.5467 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1444, allocations: 87.94 kB / 0.5467 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.1454, allocations: 0.6113 MB / 0.5473 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.1456, allocations: 125.1 kB / 0.5475 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.1457, allocations: 53.58 kB / 0.5475 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1457, allocations: 0 / 0.5475 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1458, allocations: 42.55 kB / 0.5475 GB, free: 15.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.1458, allocations: 0 / 0.5475 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009032/0.1467, allocations: 381.4 kB / 0.5479 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.1467, allocations: 85.05 kB / 0.548 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1469, allocations: 130.1 kB / 0.5481 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1469, allocations: 25.7 kB / 0.5481 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.147, allocations: 128.2 kB / 0.5483 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.1471, allocations: 63.5 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.1471, allocations: 33.72 kB / 0.5484 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1473, allocations: 330.8 kB / 0.5487 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.1474, allocations: 35.98 kB / 0.5487 GB, free: 13.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.1475, allocations: 100.6 kB / 0.5488 GB, free: 13.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.1477, allocations: 156.5 kB / 0.5489 GB, free: 13.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1477, allocations: 7.938 kB / 0.549 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00042/0.1481, allocations: 219.3 kB / 0.5492 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1481, allocations: 4 kB / 0.5492 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1482, allocations: 4 kB / 0.5492 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.1484, allocations: 53.94 kB / 0.5492 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1485, allocations: 36.02 kB / 0.5493 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/0.1514, allocations: 2.998 MB / 0.5522 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.1515, allocations: 15.89 kB / 0.5522 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.1515, allocations: 12 kB / 0.5522 GB, free: 9.984 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.0001647/0.1517, allocations: 129.7 kB / 0.5523 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.1517, allocations: 12.05 kB / 0.5523 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.1518, allocations: 24.64 kB / 0.5524 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1518, allocations: 0 / 0.5524 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.1518, allocations: 4 kB / 0.5524 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1518, allocations: 0 / 0.5524 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.1521, allocations: 229.5 kB / 0.5526 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.1521, allocations: 7.984 kB / 0.5526 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.1523, allocations: 24 kB / 0.5526 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.1525, allocations: 49.69 kB / 0.5527 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.1525, allocations: 11.94 kB / 0.5527 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.155, allocations: 2.986 MB / 0.5556 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.155, allocations: 0 / 0.5556 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.1555, allocations: 364.4 kB / 0.5559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.1556, allocations: 97.06 kB / 0.556 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.1557, allocations: 8.062 kB / 0.556 GB, free: 5.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1558, allocations: 3.938 kB / 0.5561 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.1558, allocations: 11.98 kB / 0.5561 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1558, allocations: 4 kB / 0.5561 GB, free: 5.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.673e-05/0.1559, allocations: 101.2 kB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1559, allocations: 0 / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005108/0.1564, allocations: 55.89 kB / 0.5562 GB, free: 5.5 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.0008612/0.1573, allocations: 0.9025 MB / 0.5571 GB, free: 4.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006845/0.158, allocations: 341.3 kB / 0.5574 GB, free: 4.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.158, allocations: 4 kB / 0.5574 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.1583, allocations: 293.4 kB / 0.5577 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.1589, allocations: 32.61 kB / 0.5577 GB, free: 3.859 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.1619, allocations: 2.317 MB / 0.56 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.1623, allocations: 0.7203 MB / 0.5607 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.519e-05/0.1624, allocations: 21.41 kB / 0.5607 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.1625, allocations: 39.42 kB / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1625, allocations: 0 / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03732/0.1998, allocations: 3.816 MB / 0.5645 GB, free: 12.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.61, allocations: 0 / 0.5645 GB, free: 12.95 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 14.052069205325097]