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.001448/0.001448, allocations: 80.98 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001605/0.001605, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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.029/1.029, allocations: 158.6 MB / 185.9 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.1426/0.1426, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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: 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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.276e-05, allocations: 2.312 kB / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002746/0.002778, allocations: 1.871 MB / 350 MB, free: 7.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.003161, allocations: 147.5 kB / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.003241, allocations: 7.938 kB / 350.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.857e-05/0.0033, allocations: 15.8 kB / 350.1 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.003432, allocations: 67.42 kB / 350.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.003563, allocations: 35.94 kB / 350.2 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003698, allocations: 195 kB / 350.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.003826, allocations: 33.78 kB / 350.5 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.003955, allocations: 111.8 kB / 350.6 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.004061, allocations: 51.88 kB / 350.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.004086, allocations: 16 kB / 350.6 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.282e-05/0.004109, allocations: 19.94 kB / 350.7 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.004136, allocations: 31.84 kB / 350.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.004186, allocations: 59.91 kB / 350.7 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004349, allocations: 119.5 kB / 350.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004353, allocations: 4 kB / 350.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004354, allocations: 0 / 350.9 MB, free: 6.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004358, allocations: 0 / 350.9 MB, free: 6.418 MB / 282.7 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.0004022/0.00476, allocations: 480.3 kB / 351.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.004804, allocations: 8.031 kB / 351.3 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.004855, allocations: 28.84 kB / 351.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.005007, allocations: 152.4 kB / 351.5 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.00502, allocations: 16.64 kB / 351.5 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.005057, allocations: 20.36 kB / 351.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.005224, allocations: 139.8 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.005238, allocations: 4.141 kB / 351.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.00525, allocations: 8.375 kB / 351.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005258, allocations: 4.375 kB / 351.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.005327, allocations: 58.94 kB / 351.8 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.005857, allocations: 0.5534 MB / 352.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.005996, allocations: 110.1 kB / 352.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.006034, allocations: 35.36 kB / 352.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.006051, allocations: 16.12 kB / 352.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.006071, allocations: 37.33 kB / 352.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.006072, allocations: 0 / 352.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004659/0.006538, allocations: 192.8 kB / 352.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.006561, allocations: 81.11 kB / 352.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.00664, allocations: 193.8 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.006648, allocations: 25.7 kB / 353 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.006697, allocations: 183 kB / 353.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.006729, allocations: 59.47 kB / 353.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.006778, allocations: 47.34 kB / 353.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.006839, allocations: 0.4961 MB / 353.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.006869, allocations: 15.98 kB / 353.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.006934, allocations: 118 kB / 353.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.00704, allocations: 152.7 kB / 354.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007042, allocations: 0 / 354.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002367/0.007279, allocations: 193.1 kB / 354.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.007293, allocations: 4 kB / 354.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.0073, allocations: 4 kB / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.007464, allocations: 43.34 kB / 354.3 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.007563, allocations: 43.92 kB / 354.3 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.009205, allocations: 3.715 MB / 358.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.00928, allocations: 19.89 kB / 358.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.009289, allocations: 4 kB / 358.1 MB, free: 14.64 MB / 298.7 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.0001073/0.009396, allocations: 176.7 kB / 358.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.009442, allocations: 19.84 kB / 358.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.009468, allocations: 16.78 kB / 358.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.009472, allocations: 4 kB / 358.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.009479, allocations: 96 / 358.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.009485, allocations: 7.969 kB / 358.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.009697, allocations: 133.2 kB / 358.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.009699, allocations: 4 kB / 358.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.009819, allocations: 23.98 kB / 358.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.009942, allocations: 51.34 kB / 358.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.009952, allocations: 3.938 kB / 358.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.01175, allocations: 3.73 MB / 362.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.01176, allocations: 3.938 kB / 362.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.01209, allocations: 434.2 kB / 362.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.0121, allocations: 7.953 kB / 362.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.01212, allocations: 7.984 kB / 362.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.01221, allocations: 4 kB / 362.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.01224, allocations: 15.92 kB / 362.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.01225, allocations: 4.094 kB / 362.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.01231, allocations: 136.2 kB / 362.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01231, allocations: 0 / 362.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004425/0.01275, allocations: 59.89 kB / 362.9 MB, free: 9.516 MB / 298.7 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.0001172/0.01287, allocations: 103.1 kB / 363 MB, free: 9.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.01327, allocations: 443.4 kB / 363.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01327, allocations: 0 / 363.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.0135, allocations: 391.3 kB / 363.8 MB, free: 8.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.01389, allocations: 41.62 kB / 363.9 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/0.01479, allocations: 0.5177 MB / 364.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.771e-05/0.01486, allocations: 83.97 kB / 364.5 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.067e-05/0.0149, allocations: 9.484 kB / 364.5 MB, free: 7.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.01499, allocations: 94.17 kB / 364.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01499, allocations: 0 / 364.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of Templates: time 0.004791/0.01978, allocations: 2.252 MB / 366.8 MB, free: 5.504 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1607085233554244]