Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001154/0.001154, allocations: 110.3 kB / 17.98 MB, free: 5.379 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.0012/0.0012, allocations: 189.4 kB / 18.9 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 242.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.17 MB / 336.9 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.73 kB / 408.5 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1116, allocations: 60.83 MB / 469.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003782/0.1154, allocations: 1.908 MB / 471.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004794/0.1159, allocations: 147.5 kB / 471.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.116, allocations: 4 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.589e-05/0.1162, allocations: 15.84 kB / 471.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1164, allocations: 43.62 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.1165, allocations: 31.97 kB / 471.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.1168, allocations: 187.1 kB / 471.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.117, allocations: 61.39 kB / 471.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1171, allocations: 63.73 kB / 471.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1172, allocations: 79.67 kB / 471.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.1173, allocations: 16 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.1173, allocations: 12 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.1173, allocations: 35.86 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1175, allocations: 75.67 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1176, allocations: 143.9 kB / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1177, allocations: 0 / 472.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1177, allocations: 7.938 kB / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1177, allocations: 0 / 472.2 MB, free: 11.92 MB / 350.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.0006398/0.1183, allocations: 455.2 kB / 472.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1184, allocations: 8.031 kB / 472.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.1184, allocations: 16.75 kB / 472.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1187, allocations: 200.1 kB / 472.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1187, allocations: 16.7 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.1188, allocations: 20.28 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.1191, allocations: 174.2 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1191, allocations: 192 / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.1191, allocations: 11.94 kB / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1192, allocations: 4 kB / 473.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.1193, allocations: 91.88 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.1202, allocations: 0.6111 MB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1205, allocations: 133.2 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.606e-05/0.1206, allocations: 49.7 kB / 473.9 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.1206, allocations: 4 kB / 474 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.1206, allocations: 38.55 kB / 474 MB, free: 9.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.1206, allocations: 0 / 474 MB, free: 9.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008117/0.1214, allocations: 381.4 kB / 474.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.1215, allocations: 77.11 kB / 474.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1216, allocations: 134 kB / 474.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1217, allocations: 29.7 kB / 474.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.1217, allocations: 128.1 kB / 474.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.1218, allocations: 67.11 kB / 474.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.1219, allocations: 33.72 kB / 474.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.122, allocations: 322.8 kB / 475.1 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.1221, allocations: 35.98 kB / 475.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1222, allocations: 108.2 kB / 475.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1224, allocations: 160.6 kB / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1224, allocations: 0 / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003627/0.1228, allocations: 227 kB / 475.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1228, allocations: 7.938 kB / 475.7 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1228, allocations: 4 kB / 475.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.123, allocations: 53.69 kB / 475.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1232, allocations: 35.92 kB / 475.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.1254, allocations: 2.986 MB / 478.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.483e-05/0.1255, allocations: 19.88 kB / 478.8 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1256, allocations: 4 kB / 478.8 MB, free: 4.688 MB / 350.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.0001187/0.1257, allocations: 137.7 kB / 478.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.1257, allocations: 11.91 kB / 478.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.1258, allocations: 24.58 kB / 478.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1258, allocations: 8.062 kB / 478.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1258, allocations: 0 / 478.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1258, allocations: 4 kB / 478.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.1261, allocations: 225.5 kB / 479.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1261, allocations: 0 / 479.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1263, allocations: 31.98 kB / 479.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.1264, allocations: 45.69 kB / 479.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1264, allocations: 7.938 kB / 479.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.1285, allocations: 2.982 MB / 482.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1285, allocations: 0 / 482.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.1289, allocations: 372.4 kB / 482.6 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1289, allocations: 89 kB / 482.7 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.129, allocations: 8.062 kB / 482.7 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1291, allocations: 16 kB / 482.7 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.1291, allocations: 7.984 kB / 482.7 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1291, allocations: 8 kB / 482.7 MB, free: 352 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.578e-05/0.1292, allocations: 102 kB / 482.8 MB, free: 252 kB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1292, allocations: 0 / 482.8 MB, free: 252 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004616/0.1297, allocations: 59.91 kB / 482.9 MB, free: 192 kB / 350.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.0001116/0.1298, allocations: 95.72 kB / 483 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005646/0.1304, allocations: 357.5 kB / 483.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1304, allocations: 4.125 kB / 483.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.1307, allocations: 281.3 kB / 483.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.1312, allocations: 31.34 kB / 483.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1325, allocations: 0.7349 MB / 484.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.1329, allocations: 0.7242 MB / 485.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.1329, allocations: 11.44 kB / 485.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1329, allocations: 0 / 485.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of Templates: time 0.005454/0.1384, allocations: 3.136 MB / 488.2 MB, free: 10.71 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches