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.00111/0.00111, allocations: 114 kB / 17.09 MB, free: 5.965 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.001097/0.001097, allocations: 194.1 kB / 18.02 MB, free: 5.047 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.3/1.3, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2033/0.2033, allocations: 43.53 MB / 314.8 MB, free: 452 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.001371/0.001371, allocations: 77.45 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09576, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003077/0.09888, allocations: 1.849 MB / 0.4903 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004883/0.09939, allocations: 151.5 kB / 0.4905 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.09954, allocations: 3.938 kB / 0.4905 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.025e-05/0.09964, allocations: 19.8 kB / 0.4905 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.09985, allocations: 51.55 kB / 0.4906 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.1, allocations: 47.88 kB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1002, allocations: 179.2 kB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1005, allocations: 57.52 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1006, allocations: 71.7 kB / 0.4909 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1007, allocations: 75.64 kB / 0.491 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.1008, allocations: 16 kB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.265e-05/0.1008, allocations: 12 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.1009, allocations: 31.92 kB / 0.491 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.101, allocations: 91.58 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1012, allocations: 183.3 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1012, allocations: 0 / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1012, allocations: 0 / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.1013, allocations: 0 / 0.4913 GB, free: 8.969 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.0006377/0.1019, allocations: 455.2 kB / 0.4917 GB, free: 8.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1019, allocations: 11.89 kB / 0.4917 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.102, allocations: 16.75 kB / 0.4918 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1023, allocations: 208.1 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1023, allocations: 16.7 kB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.1023, allocations: 12.38 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.1027, allocations: 170.1 kB / 0.4921 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.1027, allocations: 12.09 kB / 0.4922 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.1027, allocations: 7.938 kB / 0.4922 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.1028, allocations: 11.92 kB / 0.4922 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.1029, allocations: 83.95 kB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.1038, allocations: 0.6189 MB / 0.4929 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.104, allocations: 125.2 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.1041, allocations: 49.7 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1041, allocations: 8 kB / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1041, allocations: 38.67 kB / 0.4931 GB, free: 6.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.1041, allocations: 0 / 0.4931 GB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007566/0.1049, allocations: 377.2 kB / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1049, allocations: 85.11 kB / 0.4935 GB, free: 6.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1051, allocations: 130 kB / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1051, allocations: 29.7 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.1052, allocations: 124.1 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.1052, allocations: 55.16 kB / 0.4938 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.1053, allocations: 37.72 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1054, allocations: 322.8 kB / 0.4942 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.1054, allocations: 35.98 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.1056, allocations: 112.4 kB / 0.4943 GB, free: 5.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1058, allocations: 156.8 kB / 0.4945 GB, free: 5.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1058, allocations: 3.938 kB / 0.4945 GB, free: 5.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003406/0.1061, allocations: 222.9 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1062, allocations: 6.656 kB / 0.4947 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1062, allocations: 12.23 kB / 0.4947 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.1064, allocations: 49.64 kB / 0.4947 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1065, allocations: 31.98 kB / 0.4948 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.1087, allocations: 3.005 MB / 0.4977 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.1088, allocations: 15.84 kB / 0.4977 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1089, allocations: 8 kB / 0.4977 GB, free: 1.699 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.0001075/0.109, allocations: 133.9 kB / 0.4979 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.109, allocations: 7.906 kB / 0.4979 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.1091, allocations: 20.7 kB / 0.4979 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1091, allocations: 3.938 kB / 0.4979 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1091, allocations: 0 / 0.4979 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.1091, allocations: 88.95 kB / 0.498 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.1091, allocations: 4 kB / 0.498 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1093, allocations: 4 kB / 0.498 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1093, allocations: 12.02 kB / 0.498 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005426/0.1098, allocations: 365.5 kB / 0.4983 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003268/0.1102, allocations: 429.9 kB / 0.4988 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.481e-05/0.1103, allocations: 39.91 kB / 0.4988 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.809e-05/0.1103, allocations: 103.3 kB / 0.4989 GB, free: 468 kB / 382.1 MB Notification: Performance of Backend: time 2.8e-07/0.1103, allocations: 0 / 0.4989 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008209/0.1112, allocations: 396 kB / 0.4993 GB, free: 36 kB / 382.1 MB Notification: Performance of SimCode: time 0.001286/0.1125, allocations: 1.144 MB / 0.5004 GB, free: 14.85 MB / 398.1 MB Notification: Performance of Templates: time 0.004834/0.1173, allocations: 1.97 MB / 0.5023 GB, free: 12.88 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