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.00126/0.001261, allocations: 107.2 kB / 17.03 MB, free: 5.664 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.001703/0.001703, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.5/1.5, allocations: 205.1 MB / 223.8 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.1952/0.1952, allocations: 43.52 MB / 314.7 MB, free: 488 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.001516/0.001516, allocations: 66.17 kB / 384.2 MB, free: 56.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002949/0.1056, allocations: 1.835 MB / 443.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003971/0.106, allocations: 155.4 kB / 444 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1061, allocations: 4 kB / 444 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.634e-05/0.1062, allocations: 27.78 kB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1064, allocations: 47.5 kB / 444 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.1066, allocations: 35.95 kB / 444.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1068, allocations: 179.2 kB / 444.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.1069, allocations: 57.52 kB / 444.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.972e-05/0.107, allocations: 71.72 kB / 444.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1071, allocations: 75.64 kB / 444.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1072, allocations: 12 kB / 444.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.553e-05/0.1072, allocations: 16 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.1072, allocations: 31.91 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.182e-05/0.1073, allocations: 87.59 kB / 444.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1075, allocations: 179.3 kB / 444.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1075, allocations: 4 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.123e-06/0.1075, allocations: 4 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1075, allocations: 0 / 444.8 MB, free: 3.34 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.0005016/0.108, allocations: 459.2 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1081, allocations: 11.89 kB / 445.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.1081, allocations: 20.75 kB / 445.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.1083, allocations: 215.9 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1083, allocations: 8.703 kB / 445.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.1084, allocations: 24.36 kB / 445.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1086, allocations: 166.2 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1086, allocations: 8.078 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1086, allocations: 7.938 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1087, allocations: 8 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1088, allocations: 91.88 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.1095, allocations: 0.6033 MB / 446.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1097, allocations: 125.2 kB / 446.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.1097, allocations: 57.7 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1097, allocations: 0 / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.1098, allocations: 42.55 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1098, allocations: 0 / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006635/0.1104, allocations: 381.4 kB / 447 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.1105, allocations: 77.11 kB / 447 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.1106, allocations: 133.5 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.1106, allocations: 25.7 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.1106, allocations: 128 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.1107, allocations: 63.17 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1107, allocations: 37.72 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.1108, allocations: 326.8 kB / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.1108, allocations: 40.3 kB / 447.8 MB, free: 32 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.111, allocations: 102.6 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.1112, allocations: 156.4 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1112, allocations: 4 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003673/0.1116, allocations: 218.9 kB / 448.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1116, allocations: 11.98 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1116, allocations: 4 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002226/0.1118, allocations: 45.95 kB / 448.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.112, allocations: 43.92 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.1142, allocations: 2.99 MB / 451.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.1143, allocations: 15.78 kB / 451.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.1144, allocations: 12 kB / 451.4 MB, free: 12.08 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.0001125/0.1145, allocations: 125.8 kB / 451.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.1145, allocations: 16 kB / 451.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.1146, allocations: 24.64 kB / 451.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1146, allocations: 4 kB / 451.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1146, allocations: 0 / 451.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1146, allocations: 4.078 kB / 451.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.1149, allocations: 237.5 kB / 451.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1149, allocations: 0 / 451.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.1151, allocations: 23.98 kB / 451.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.1152, allocations: 49.7 kB / 451.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1152, allocations: 7.938 kB / 451.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.1172, allocations: 2.982 MB / 454.8 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1172, allocations: 0 / 454.8 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.1176, allocations: 373.6 kB / 455.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.1177, allocations: 92.92 kB / 455.3 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1177, allocations: 4.094 kB / 455.3 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1178, allocations: 16.06 kB / 455.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.1179, allocations: 15.92 kB / 455.3 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1179, allocations: 4 kB / 455.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.965e-05/0.118, allocations: 99.27 kB / 455.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.118, allocations: 0 / 455.4 MB, free: 7.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004259/0.1184, allocations: 55.84 kB / 455.5 MB, free: 7.586 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.0001137/0.1185, allocations: 103.2 kB / 455.6 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005163/0.119, allocations: 341.2 kB / 455.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1191, allocations: 0 / 455.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.1194, allocations: 281.8 kB / 456.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.1199, allocations: 39.86 kB / 456.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1209, allocations: 0.6357 MB / 456.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.1212, allocations: 0.7281 MB / 457.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.1213, allocations: 17.36 kB / 457.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.1213, allocations: 15.44 kB / 457.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1213, allocations: 0 / 457.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of Templates: time 0.005204/0.1265, allocations: 1.912 MB / 459.5 MB, free: 3.426 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 -s gbode -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