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.001224/0.001224, allocations: 119.4 kB / 17.09 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.001247/0.001247, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.392/1.392, allocations: 205.1 MB / 223.9 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.206/0.206, allocations: 43.52 MB / 314.8 MB, free: 456 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.001662/0.001662, allocations: 64.47 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1165, 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.003423/0.12, allocations: 1.851 MB / 0.4903 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004693/0.1205, allocations: 151.4 kB / 0.4905 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1206, allocations: 4 kB / 0.4905 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.752e-05/0.1207, allocations: 19.78 kB / 0.4905 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.1209, allocations: 63.48 kB / 0.4906 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1211, allocations: 31.97 kB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1213, allocations: 175.2 kB / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1216, allocations: 68.92 kB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1217, allocations: 67.73 kB / 0.4909 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1218, allocations: 75.64 kB / 0.491 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.1219, allocations: 12 kB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.55e-05/0.1219, allocations: 16 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.122, allocations: 35.89 kB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.163e-05/0.1221, allocations: 87.61 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.1223, allocations: 183.3 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1223, allocations: 4 kB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1223, allocations: 0 / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1223, allocations: 0 / 0.4913 GB, free: 8.965 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.0006181/0.123, allocations: 455.2 kB / 0.4917 GB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.123, allocations: 11.89 kB / 0.4917 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.1231, allocations: 20.73 kB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1233, allocations: 212.1 kB / 0.492 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1234, allocations: 12.7 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.1234, allocations: 24.31 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.1237, allocations: 166.2 kB / 0.4921 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1237, allocations: 4.094 kB / 0.4922 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.1238, allocations: 7.938 kB / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1238, allocations: 4 kB / 0.4922 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.1239, allocations: 91.89 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.1248, allocations: 0.6072 MB / 0.4928 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.125, allocations: 129.4 kB / 0.493 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.031e-05/0.1251, allocations: 57.64 kB / 0.493 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1251, allocations: 4 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1252, allocations: 34.56 kB / 0.4931 GB, free: 6.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1252, allocations: 0 / 0.4931 GB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008055/0.126, allocations: 377.2 kB / 0.4934 GB, free: 6.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.1261, allocations: 81.11 kB / 0.4935 GB, free: 6.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1262, allocations: 137.3 kB / 0.4936 GB, free: 6.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1262, allocations: 25.7 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.1263, allocations: 128 kB / 0.4938 GB, free: 6.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.1263, allocations: 63.16 kB / 0.4938 GB, free: 6.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.1264, allocations: 41.7 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1265, allocations: 322.8 kB / 0.4942 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.1266, allocations: 39.92 kB / 0.4942 GB, free: 5.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1267, allocations: 100.4 kB / 0.4943 GB, free: 5.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1269, allocations: 164.7 kB / 0.4945 GB, free: 5.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1269, allocations: 0 / 0.4945 GB, free: 5.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003974/0.1273, allocations: 222.9 kB / 0.4947 GB, free: 5.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1274, allocations: 8.25 kB / 0.4947 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1274, allocations: 4 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.1276, allocations: 49.69 kB / 0.4947 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1278, allocations: 39.92 kB / 0.4948 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.13, allocations: 2.998 MB / 0.4977 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/0.1301, allocations: 15.83 kB / 0.4977 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1301, allocations: 12 kB / 0.4977 GB, free: 1.691 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.0001122/0.1302, allocations: 125.9 kB / 0.4979 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.1303, allocations: 11.84 kB / 0.4979 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.1303, allocations: 20.66 kB / 0.4979 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1303, allocations: 4 kB / 0.4979 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1303, allocations: 0 / 0.4979 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1303, allocations: 3.984 kB / 0.4979 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.1306, allocations: 233.5 kB / 0.4981 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1307, allocations: 0 / 0.4981 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1308, allocations: 23.98 kB / 0.4981 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.131, allocations: 53.69 kB / 0.4982 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.131, allocations: 7.938 kB / 0.4982 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.133, allocations: 2.978 MB / 0.5011 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.133, allocations: 0 / 0.5011 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.1334, allocations: 376.5 kB / 0.5015 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.1334, allocations: 92.86 kB / 0.5016 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1335, allocations: 0 / 0.5016 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1336, allocations: 8 kB / 0.5016 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.1336, allocations: 15.92 kB / 0.5016 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1336, allocations: 4 kB / 0.5016 GB, free: 13.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.913e-05/0.1337, allocations: 103.2 kB / 0.5017 GB, free: 13.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1337, allocations: 0 / 0.5017 GB, free: 13.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004608/0.1342, allocations: 51.94 kB / 0.5017 GB, free: 13.21 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.0001232/0.1343, allocations: 103.3 kB / 0.5018 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005538/0.1349, allocations: 349.5 kB / 0.5022 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1349, allocations: 4.125 kB / 0.5022 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.1352, allocations: 285.2 kB / 0.5024 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.1357, allocations: 40.27 kB / 0.5025 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1367, allocations: 0.6607 MB / 0.5031 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.137, allocations: 0.7281 MB / 0.5038 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.1371, allocations: 15.44 kB / 0.5038 GB, free: 10.93 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1371, allocations: 3.938 kB / 0.5038 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Templates: time 0.005369/0.1424, allocations: 3.13 MB / 0.5069 GB, free: 7.793 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