Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00179/0.00179, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.002132/0.002132, allocations: 210.1 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.627/1.627, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2365/0.2365, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: 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_4.1.0_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_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.89 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3763, allocations: 66.04 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003058/0.3794, allocations: 1.771 MB / 0.5635 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003595/0.3798, allocations: 155.4 kB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.3798, allocations: 4 kB / 0.5637 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.572e-05/0.3799, allocations: 23.78 kB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.38, allocations: 51.48 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.3802, allocations: 31.97 kB / 0.5638 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.3804, allocations: 195.1 kB / 0.564 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.3806, allocations: 41.7 kB / 0.564 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3807, allocations: 63.8 kB / 0.5641 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3808, allocations: 67.7 kB / 0.5641 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.3808, allocations: 12 kB / 0.5642 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-05/0.3808, allocations: 16 kB / 0.5642 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.3809, allocations: 39.83 kB / 0.5642 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.3809, allocations: 67.73 kB / 0.5643 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3812, allocations: 189.6 kB / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3812, allocations: 0 / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3812, allocations: 0 / 0.5645 GB, free: 1.422 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.3812, allocations: 3.938 kB / 0.5645 GB, free: 1.418 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.0005574/0.3817, allocations: 389.9 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3818, allocations: 8.031 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.3818, allocations: 16.84 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.382, allocations: 142.4 kB / 0.565 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.382, allocations: 16.69 kB / 0.565 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.3821, allocations: 24.31 kB / 0.565 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.3824, allocations: 162.2 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.3824, allocations: 8.172 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3824, allocations: 7.938 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.3824, allocations: 4 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.3826, allocations: 91.89 kB / 0.5653 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007801/0.3834, allocations: 499.9 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.3836, allocations: 125.1 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.3837, allocations: 49.7 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3837, allocations: 4 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3837, allocations: 34.55 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.3837, allocations: 0 / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007197/0.3844, allocations: 223.3 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.3845, allocations: 85.09 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.3846, allocations: 128.9 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3846, allocations: 29.7 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/0.3847, allocations: 132.2 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/0.3848, allocations: 63.48 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.3848, allocations: 37.7 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.385, allocations: 330.8 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.385, allocations: 35.98 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3852, allocations: 104 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3854, allocations: 160.8 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3854, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003765/0.3857, allocations: 227.1 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3858, allocations: 8 kB / 0.5675 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3858, allocations: 7.984 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/0.386, allocations: 53.94 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3861, allocations: 35.92 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.3884, allocations: 2.726 MB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.3885, allocations: 19.86 kB / 0.5702 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3885, allocations: 8 kB / 0.5702 GB, free: 11 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.0001271/0.3886, allocations: 129.8 kB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.3887, allocations: 15.91 kB / 0.5704 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.3887, allocations: 16.7 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3887, allocations: 4 kB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3887, allocations: 0 / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3887, allocations: 7.938 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.389, allocations: 161.3 kB / 0.5706 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.389, allocations: 4 kB / 0.5706 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.3891, allocations: 23.98 kB / 0.5706 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/0.3893, allocations: 41.7 kB / 0.5706 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.3893, allocations: 12 kB / 0.5706 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.3914, allocations: 2.722 MB / 0.5733 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3914, allocations: 8.016 kB / 0.5733 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.3919, allocations: 376.2 kB / 0.5737 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.3919, allocations: 15.95 kB / 0.5737 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.3919, allocations: 4 kB / 0.5737 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.392, allocations: 4 kB / 0.5737 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.392, allocations: 12.12 kB / 0.5737 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3921, allocations: 8.094 kB / 0.5737 GB, free: 7.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.3921, allocations: 103.2 kB / 0.5738 GB, free: 7.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3921, allocations: 0 / 0.5738 GB, free: 7.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004536/0.3926, allocations: 55.89 kB / 0.5739 GB, free: 7.027 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.0001163/0.3927, allocations: 99.19 kB / 0.574 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.3933, allocations: 349.4 kB / 0.5743 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3933, allocations: 0 / 0.5743 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.3936, allocations: 281.3 kB / 0.5746 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.3941, allocations: 39.06 kB / 0.5746 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3952, allocations: 0.6746 MB / 0.5753 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.3953, allocations: 112.1 kB / 0.5754 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.3953, allocations: 15.44 kB / 0.5754 GB, free: 5.359 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3953, allocations: 0 / 0.5754 GB, free: 5.359 MB / 414.1 MB Notification: Performance of Templates: time 0.005444/0.4008, allocations: 3.233 MB / 0.5785 GB, free: 2.133 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.681091462727636]