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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 116 kB / 17.05 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 191 kB / 17.98 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2047/0.2047, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 442.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1145, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002859/0.1174, allocations: 1.855 MB / 0.4903 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.1178, allocations: 151.5 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.518e-05/0.1178, allocations: 4 kB / 0.4904 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.882e-05/0.1179, allocations: 19.73 kB / 0.4904 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.1181, allocations: 51.55 kB / 0.4905 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.1182, allocations: 39.95 kB / 0.4905 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.1184, allocations: 187.1 kB / 0.4907 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.1186, allocations: 60.94 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.1187, allocations: 67.78 kB / 0.4908 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1189, allocations: 71.69 kB / 0.4909 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.1189, allocations: 16 kB / 0.4909 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.444e-05/0.1189, allocations: 12 kB / 0.4909 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.119, allocations: 35.86 kB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.046e-05/0.1191, allocations: 79.67 kB / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1193, allocations: 195.3 kB / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1193, allocations: 0 / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1193, allocations: 3.938 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1193, allocations: 0 / 0.4912 GB, free: 9 MB / 382.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.0005526/0.1199, allocations: 455.2 kB / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1199, allocations: 11.89 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.12, allocations: 16.75 kB / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.1202, allocations: 204.1 kB / 0.4919 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1202, allocations: 24.69 kB / 0.4919 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.1202, allocations: 16.38 kB / 0.4919 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.1205, allocations: 166.1 kB / 0.4921 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1205, allocations: 8.094 kB / 0.4921 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.1205, allocations: 11.88 kB / 0.4921 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1206, allocations: 4 kB / 0.4921 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.1207, allocations: 91.94 kB / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00078/0.1215, allocations: 0.6072 MB / 0.4928 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1217, allocations: 125.2 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/0.1218, allocations: 53.7 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1218, allocations: 4 kB / 0.493 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1219, allocations: 34.56 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 3.076e-06/0.1219, allocations: 0 / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000757/0.1226, allocations: 381.4 kB / 0.4934 GB, free: 6.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.1227, allocations: 89.03 kB / 0.4934 GB, free: 6.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1228, allocations: 132.6 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1228, allocations: 29.69 kB / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.1229, allocations: 124.1 kB / 0.4937 GB, free: 6.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.1229, allocations: 55.16 kB / 0.4938 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.123, allocations: 49.7 kB / 0.4938 GB, free: 6.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1231, allocations: 318.8 kB / 0.4941 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.1232, allocations: 35.98 kB / 0.4942 GB, free: 5.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/0.1233, allocations: 104.4 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.1235, allocations: 164.8 kB / 0.4944 GB, free: 5.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.1235, allocations: 4 kB / 0.4944 GB, free: 5.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003217/0.1238, allocations: 219.1 kB / 0.4946 GB, free: 5.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1238, allocations: 4 kB / 0.4946 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1238, allocations: 8.297 kB / 0.4946 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.1241, allocations: 53.67 kB / 0.4947 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1242, allocations: 39.92 kB / 0.4947 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.1262, allocations: 2.997 MB / 0.4977 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.1263, allocations: 11.84 kB / 0.4977 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1263, allocations: 15.98 kB / 0.4977 GB, free: 1.727 MB / 382.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.0001097/0.1264, allocations: 133.9 kB / 0.4978 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.1265, allocations: 7.906 kB / 0.4978 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.1265, allocations: 24.64 kB / 0.4978 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1265, allocations: 0 / 0.4978 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1265, allocations: 4 kB / 0.4978 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1265, allocations: 0 / 0.4978 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1268, allocations: 225.5 kB / 0.4981 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1268, allocations: 0 / 0.4981 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.127, allocations: 35.98 kB / 0.4981 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001412/0.1271, allocations: 53.62 kB / 0.4981 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.1271, allocations: 7.938 kB / 0.4982 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.1289, allocations: 2.974 MB / 0.5011 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1289, allocations: 0 / 0.5011 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1293, allocations: 372.5 kB / 0.5014 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.1293, allocations: 92.86 kB / 0.5015 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1294, allocations: 11.92 kB / 0.5015 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1295, allocations: 8 kB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.1295, allocations: 7.984 kB / 0.5015 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1295, allocations: 4 kB / 0.5015 GB, free: 13.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.921e-05/0.1296, allocations: 99.27 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1296, allocations: 0 / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.13, allocations: 55.94 kB / 0.5017 GB, free: 13.25 MB / 398.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.0001028/0.1301, allocations: 99.25 kB / 0.5018 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.1306, allocations: 353.7 kB / 0.5021 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.1306, allocations: 8.062 kB / 0.5021 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.1309, allocations: 277.4 kB / 0.5024 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.1314, allocations: 36.05 kB / 0.5024 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009215/0.1323, allocations: 0.6761 MB / 0.5031 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1326, allocations: 0.7242 MB / 0.5038 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.1327, allocations: 19.44 kB / 0.5038 GB, free: 10.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1327, allocations: 0 / 0.5038 GB, free: 10.95 MB / 398.1 MB Notification: Performance of Templates: time 0.004451/0.1371, allocations: 3.119 MB / 0.5068 GB, free: 7.832 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (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) 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) Reference file matches