Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002152/0.002152, allocations: 119.5 kB / 18.45 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002366/0.002366, allocations: 201.8 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.4 MB / 251.6 MB, free: 84 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.18 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 78.75 kB / 490.2 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1682, allocations: 62.45 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003961/0.1722, allocations: 1.856 MB / 0.5415 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005045/0.1728, allocations: 147.5 kB / 0.5416 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1729, allocations: 7.938 kB / 0.5416 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.744e-05/0.173, allocations: 19.8 kB / 0.5417 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1733, allocations: 47.55 kB / 0.5417 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1735, allocations: 43.89 kB / 0.5417 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.1738, allocations: 191.1 kB / 0.5419 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.1741, allocations: 57.52 kB / 0.542 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1742, allocations: 71.72 kB / 0.542 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1744, allocations: 75.69 kB / 0.5421 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.1744, allocations: 12 kB / 0.5421 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.225e-05/0.1745, allocations: 16 kB / 0.5421 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.1745, allocations: 31.86 kB / 0.5422 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1747, allocations: 83.61 kB / 0.5423 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.175, allocations: 187.2 kB / 0.5424 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.175, allocations: 0 / 0.5424 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.175, allocations: 0 / 0.5424 GB, free: 1.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.175, allocations: 0 / 0.5424 GB, free: 1.406 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.0007926/0.1758, allocations: 459.1 kB / 0.5429 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1759, allocations: 8.031 kB / 0.5429 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.1759, allocations: 24.84 kB / 0.5429 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1762, allocations: 212.1 kB / 0.5431 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1762, allocations: 8.703 kB / 0.5431 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.1763, allocations: 24.27 kB / 0.5431 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.1767, allocations: 174.1 kB / 0.5433 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1767, allocations: 192 / 0.5433 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.1768, allocations: 15.94 kB / 0.5433 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1768, allocations: 4 kB / 0.5433 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.177, allocations: 90.38 kB / 0.5434 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.178, allocations: 0.6074 MB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.1783, allocations: 133.2 kB / 0.5441 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.1783, allocations: 49.7 kB / 0.5442 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1784, allocations: 4.125 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1784, allocations: 38.56 kB / 0.5442 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1784, allocations: 4 kB / 0.5442 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008407/0.1793, allocations: 377.3 kB / 0.5446 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.1794, allocations: 85.09 kB / 0.5447 GB, free: 14.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1795, allocations: 126.8 kB / 0.5448 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.1795, allocations: 25.7 kB / 0.5448 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.1796, allocations: 136.2 kB / 0.5449 GB, free: 14.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.1797, allocations: 59.48 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.1798, allocations: 37.7 kB / 0.545 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.18, allocations: 322.8 kB / 0.5453 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.18, allocations: 36.36 kB / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.1802, allocations: 112.5 kB / 0.5455 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.1804, allocations: 152.4 kB / 0.5456 GB, free: 13.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1804, allocations: 4 kB / 0.5456 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003854/0.1808, allocations: 219 kB / 0.5458 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1808, allocations: 11.94 kB / 0.5458 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1809, allocations: 4 kB / 0.5459 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002407/0.1811, allocations: 53.69 kB / 0.5459 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.1813, allocations: 36.23 kB / 0.5459 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.184, allocations: 2.991 MB / 0.5489 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.671e-05/0.1841, allocations: 15.89 kB / 0.5489 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.1841, allocations: 8 kB / 0.5489 GB, free: 10.14 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.000138/0.1843, allocations: 129.8 kB / 0.549 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.1843, allocations: 15.91 kB / 0.549 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.1844, allocations: 20.64 kB / 0.549 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1844, allocations: 12 kB / 0.5491 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1844, allocations: 0 / 0.5491 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1844, allocations: 0 / 0.5491 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.1848, allocations: 229.7 kB / 0.5493 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1848, allocations: 0 / 0.5493 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.185, allocations: 31.91 kB / 0.5493 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.1851, allocations: 49.69 kB / 0.5494 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1852, allocations: 3.938 kB / 0.5494 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002562/0.1877, allocations: 2.99 MB / 0.5523 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1878, allocations: 4.156 kB / 0.5523 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.1882, allocations: 372.4 kB / 0.5526 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1883, allocations: 85.06 kB / 0.5527 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.1883, allocations: 8.141 kB / 0.5527 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1884, allocations: 11.88 kB / 0.5527 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1885, allocations: 11.98 kB / 0.5527 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1885, allocations: 8 kB / 0.5528 GB, free: 5.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.418e-05/0.1886, allocations: 100.5 kB / 0.5528 GB, free: 5.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1886, allocations: 0 / 0.5528 GB, free: 5.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004933/0.1891, allocations: 59.89 kB / 0.5529 GB, free: 5.641 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.0001606/0.1893, allocations: 95.25 kB / 0.553 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006395/0.1899, allocations: 349.2 kB / 0.5533 GB, free: 5.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1899, allocations: 0 / 0.5533 GB, free: 5.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.1903, allocations: 285.8 kB / 0.5536 GB, free: 4.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/0.1908, allocations: 41.73 kB / 0.5536 GB, free: 4.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1919, allocations: 0.6431 MB / 0.5543 GB, free: 4.152 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.1924, allocations: 0.7242 MB / 0.555 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.365e-05/0.1924, allocations: 5.438 kB / 0.555 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.1925, allocations: 15.44 kB / 0.555 GB, free: 3.383 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1925, allocations: 4 kB / 0.555 GB, free: 3.379 MB / 414.1 MB Notification: Performance of Templates: time 0.00557/0.198, allocations: 1.939 MB / 0.5569 GB, free: 1.453 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.097620973363519]