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.00179/0.001791, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001944/0.001944, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.421/1.421, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2204/0.2204, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 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.001738/0.001738, allocations: 70.75 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1131, allocations: 57.79 MB / 441.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003213/0.1163, allocations: 1.841 MB / 443 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.1167, allocations: 151.5 kB / 443.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.1168, allocations: 7.938 kB / 443.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.526e-05/0.1169, allocations: 19.73 kB / 443.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.117, allocations: 51.55 kB / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.1172, allocations: 39.95 kB / 443.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1173, allocations: 187.1 kB / 443.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.1175, allocations: 57.52 kB / 443.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.621e-05/0.1176, allocations: 67.78 kB / 443.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1177, allocations: 67.7 kB / 443.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1178, allocations: 15.94 kB / 443.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.738e-05/0.1178, allocations: 16 kB / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.1178, allocations: 35.86 kB / 443.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.1179, allocations: 87.59 kB / 443.8 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1181, allocations: 179.6 kB / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1181, allocations: 0 / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1181, allocations: 4 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1181, allocations: 0 / 444 MB, free: 4.082 MB / 318.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.000465/0.1186, allocations: 456.4 kB / 444.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1187, allocations: 11.89 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.1187, allocations: 16.75 kB / 444.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1189, allocations: 208 kB / 444.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1189, allocations: 16.7 kB / 444.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1189, allocations: 16.38 kB / 444.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1192, allocations: 170.1 kB / 444.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.1192, allocations: 8.094 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1192, allocations: 7.938 kB / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1192, allocations: 4 kB / 444.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1194, allocations: 91.94 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.12, allocations: 0.615 MB / 445.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1202, allocations: 137.1 kB / 445.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.1203, allocations: 49.7 kB / 445.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1203, allocations: 4 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1203, allocations: 34.75 kB / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.1203, allocations: 3.938 kB / 445.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006955/0.121, allocations: 381.2 kB / 446.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1211, allocations: 77.11 kB / 446.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.1212, allocations: 133.5 kB / 446.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1212, allocations: 25.7 kB / 446.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/0.1212, allocations: 132 kB / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.1213, allocations: 63.19 kB / 446.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.1213, allocations: 34.09 kB / 446.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.1214, allocations: 322.8 kB / 447 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.1215, allocations: 35.98 kB / 447 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.1215, allocations: 108.5 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1217, allocations: 156.4 kB / 447.3 MB, free: 476 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1217, allocations: 4 kB / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000285/0.122, allocations: 219.2 kB / 447.5 MB, free: 240 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.122, allocations: 4 kB / 447.5 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.122, allocations: 4 kB / 447.5 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.1222, allocations: 49.69 kB / 447.5 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1224, allocations: 39.92 kB / 447.6 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.1248, allocations: 2.998 MB / 450.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/0.1249, allocations: 15.88 kB / 450.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.1249, allocations: 11.94 kB / 450.6 MB, free: 12.83 MB / 334.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.0001372/0.1251, allocations: 129.8 kB / 450.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.1251, allocations: 11.91 kB / 450.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.1252, allocations: 20.64 kB / 450.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1252, allocations: 8.062 kB / 450.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1252, allocations: 0 / 450.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1252, allocations: 0 / 450.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.1255, allocations: 229.5 kB / 451 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1256, allocations: 0 / 451 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.1257, allocations: 31.98 kB / 451 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.1259, allocations: 53.66 kB / 451.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.1259, allocations: 3.938 kB / 451.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.1281, allocations: 2.986 MB / 454.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1281, allocations: 4.031 kB / 454.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.1285, allocations: 368.5 kB / 454.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.1286, allocations: 100.8 kB / 454.5 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1286, allocations: 0 / 454.5 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1287, allocations: 12 kB / 454.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.1287, allocations: 7.984 kB / 454.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1287, allocations: 8 kB / 454.5 MB, free: 8.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.827e-05/0.1288, allocations: 95.27 kB / 454.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1288, allocations: 0 / 454.6 MB, free: 8.395 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004436/0.1293, allocations: 63.84 kB / 454.7 MB, free: 8.332 MB / 334.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.0001064/0.1294, allocations: 95.19 kB / 454.8 MB, free: 8.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005335/0.1299, allocations: 357.7 kB / 455.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1299, allocations: 4.125 kB / 455.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.1302, allocations: 281.3 kB / 455.4 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.1308, allocations: 31.88 kB / 455.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1318, allocations: 0.6572 MB / 456.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1321, allocations: 0.7242 MB / 456.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.1322, allocations: 15.38 kB / 456.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1322, allocations: 4 kB / 456.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of Templates: time 0.00493/0.1371, allocations: 3.136 MB / 460 MB, free: 2.922 MB / 334.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