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.001461/0.001461, allocations: 105 kB / 20.44 MB, free: 1.504 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.001626/0.001626, allocations: 222.2 kB / 23.76 MB, free: 4.723 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.283/1.283, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 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.1978/0.1978, allocations: 44.25 MB / 331 MB, free: 9.523 MB / 270.1 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: 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.002094/0.002094, allocations: 78.86 kB / 468.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1069, allocations: 61.02 MB / 0.5174 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002949/0.1098, allocations: 1.877 MB / 0.5192 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.1102, allocations: 151.4 kB / 0.5193 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.1102, allocations: 4 kB / 0.5193 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.882e-05/0.1103, allocations: 27.72 kB / 0.5194 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.1104, allocations: 55.55 kB / 0.5194 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.1106, allocations: 31.97 kB / 0.5194 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.1108, allocations: 183.1 kB / 0.5196 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1109, allocations: 45.7 kB / 0.5197 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-05/0.111, allocations: 63.8 kB / 0.5197 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1111, allocations: 79.62 kB / 0.5198 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.1111, allocations: 20 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.582e-05/0.1112, allocations: 12 kB / 0.5198 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.1112, allocations: 31.91 kB / 0.5199 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.1113, allocations: 83.61 kB / 0.5199 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1115, allocations: 191.2 kB / 0.5201 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1115, allocations: 0 / 0.5201 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1115, allocations: 0 / 0.5201 GB, free: 4.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1115, allocations: 0 / 0.5201 GB, free: 4.02 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.0005363/0.1121, allocations: 370 kB / 0.5205 GB, free: 3.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1121, allocations: 19.97 kB / 0.5205 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.1121, allocations: 20.8 kB / 0.5205 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.1123, allocations: 146.3 kB / 0.5207 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1123, allocations: 12.7 kB / 0.5207 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.1124, allocations: 16.38 kB / 0.5207 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.1127, allocations: 174.1 kB / 0.5208 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1127, allocations: 8.125 kB / 0.5209 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1127, allocations: 7.938 kB / 0.5209 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1127, allocations: 8 kB / 0.5209 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1129, allocations: 95.92 kB / 0.521 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.1136, allocations: 0.55 MB / 0.5215 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1138, allocations: 133.1 kB / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.1139, allocations: 45.7 kB / 0.5217 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1139, allocations: 4 kB / 0.5217 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.114, allocations: 34.75 kB / 0.5217 GB, free: 2.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.114, allocations: 3.938 kB / 0.5217 GB, free: 2.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006914/0.1147, allocations: 223.2 kB / 0.5219 GB, free: 2.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.1147, allocations: 77.11 kB / 0.522 GB, free: 1.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1148, allocations: 130.1 kB / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1148, allocations: 29.7 kB / 0.5221 GB, free: 1.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.1149, allocations: 136.2 kB / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.115, allocations: 59.48 kB / 0.5223 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.115, allocations: 37.7 kB / 0.5224 GB, free: 1.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1152, allocations: 318.8 kB / 0.5227 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.1152, allocations: 39.97 kB / 0.5227 GB, free: 1.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1154, allocations: 108.4 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.1155, allocations: 152.8 kB / 0.523 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1155, allocations: 4 kB / 0.523 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003545/0.1159, allocations: 231 kB / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1159, allocations: 8 kB / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1159, allocations: 0 / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.1161, allocations: 45.7 kB / 0.5232 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1162, allocations: 39.86 kB / 0.5233 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.1184, allocations: 2.787 MB / 0.526 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.1185, allocations: 19.88 kB / 0.526 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1185, allocations: 12.16 kB / 0.526 GB, free: 13.44 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.0001125/0.1186, allocations: 133.7 kB / 0.5262 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.1187, allocations: 11.95 kB / 0.5262 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.1187, allocations: 20.64 kB / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1187, allocations: 4 kB / 0.5262 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1187, allocations: 0 / 0.5262 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1187, allocations: 96 / 0.5262 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.119, allocations: 204.7 kB / 0.5264 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.119, allocations: 0 / 0.5264 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1192, allocations: 27.98 kB / 0.5264 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/0.1193, allocations: 49.62 kB / 0.5265 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1193, allocations: 7.938 kB / 0.5265 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.1214, allocations: 2.791 MB / 0.5292 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1214, allocations: 0 / 0.5292 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.1218, allocations: 364.4 kB / 0.5295 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.1218, allocations: 7.953 kB / 0.5295 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1218, allocations: 8.062 kB / 0.5296 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1219, allocations: 3.938 kB / 0.5296 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.1219, allocations: 15.97 kB / 0.5296 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.122, allocations: 4 kB / 0.5296 GB, free: 9.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.812e-05/0.122, allocations: 107.1 kB / 0.5297 GB, free: 9.395 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.122, allocations: 0 / 0.5297 GB, free: 9.395 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.1224, allocations: 55.89 kB / 0.5297 GB, free: 9.34 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.000105/0.1225, allocations: 99.28 kB / 0.5298 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005184/0.1231, allocations: 357.3 kB / 0.5302 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1231, allocations: 0 / 0.5302 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.1234, allocations: 277.3 kB / 0.5304 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.1238, allocations: 27.97 kB / 0.5305 GB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1248, allocations: 0.6891 MB / 0.5311 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1252, allocations: 0.7242 MB / 0.5318 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.1252, allocations: 15.44 kB / 0.5319 GB, free: 7.039 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1252, allocations: 0 / 0.5319 GB, free: 7.039 MB / 414.1 MB Notification: Performance of Templates: time 0.00493/0.1301, allocations: 3.15 MB / 0.5349 GB, free: 3.887 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.416931936983019]