Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 71.98 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1166, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003041/0.1197, allocations: 1.854 MB / 483.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003226/0.12, allocations: 159.4 kB / 483.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.1201, allocations: 4 kB / 483.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.155e-05/0.1202, allocations: 23.73 kB / 483.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.1203, allocations: 51.55 kB / 483.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.1204, allocations: 35.95 kB / 483.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1206, allocations: 187.1 kB / 483.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.1208, allocations: 57.5 kB / 483.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.1209, allocations: 67.78 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.121, allocations: 75.62 kB / 484 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.121, allocations: 12 kB / 484 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.121, allocations: 20 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.1211, allocations: 27.92 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.1212, allocations: 87.61 kB / 484.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1214, allocations: 183.3 kB / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1214, allocations: 0 / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1214, allocations: 0 / 484.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1214, allocations: 0 / 484.3 MB, free: 1.715 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.0005362/0.1219, allocations: 451.3 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.122, allocations: 12.03 kB / 484.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.122, allocations: 20.75 kB / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1222, allocations: 204.1 kB / 485 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1222, allocations: 16.69 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.1223, allocations: 20.28 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1225, allocations: 170.1 kB / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1226, allocations: 192 / 485.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1226, allocations: 7.938 kB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.1226, allocations: 11.94 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.1228, allocations: 95.94 kB / 485.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.1235, allocations: 0.6033 MB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1237, allocations: 133.2 kB / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.262e-05/0.1238, allocations: 49.7 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1238, allocations: 0 / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1238, allocations: 38.56 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1239, allocations: 0 / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007829/0.1246, allocations: 377.4 kB / 486.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1247, allocations: 85.03 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1248, allocations: 132.4 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1248, allocations: 25.7 kB / 486.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.1249, allocations: 132 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.125, allocations: 59.19 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.125, allocations: 41.7 kB / 486.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1252, allocations: 322.8 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.1252, allocations: 35.98 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1253, allocations: 108.6 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1255, allocations: 156.8 kB / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1255, allocations: 0 / 487.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003471/0.1259, allocations: 227.2 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1259, allocations: 8 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.1259, allocations: 11.98 kB / 487.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.1261, allocations: 45.69 kB / 487.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1263, allocations: 43.92 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.1285, allocations: 2.984 MB / 490.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.1285, allocations: 15.78 kB / 490.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.1286, allocations: 12.16 kB / 490.9 MB, free: 10.46 MB / 366.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.0001248/0.1287, allocations: 141.7 kB / 491 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.1288, allocations: 11.91 kB / 491 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.1288, allocations: 16.66 kB / 491 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1288, allocations: 7.984 kB / 491.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1288, allocations: 0 / 491.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1288, allocations: 0 / 491.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.1291, allocations: 229.5 kB / 491.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1291, allocations: 4 kB / 491.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.1293, allocations: 27.98 kB / 491.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000135/0.1294, allocations: 53.62 kB / 491.4 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1294, allocations: 7.938 kB / 491.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.1316, allocations: 2.978 MB / 494.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.1316, allocations: 3.938 kB / 494.3 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.132, allocations: 375.4 kB / 494.7 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.1321, allocations: 85.02 kB / 494.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1321, allocations: 3.984 kB / 494.8 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1322, allocations: 8 kB / 494.8 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.1323, allocations: 11.98 kB / 494.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.1323, allocations: 4 kB / 494.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.589e-05/0.1324, allocations: 109.5 kB / 494.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1324, allocations: 0 / 494.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.1328, allocations: 51.91 kB / 495 MB, free: 5.977 MB / 366.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.0001414/0.133, allocations: 95.25 kB / 495.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005817/0.1336, allocations: 361.6 kB / 495.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1336, allocations: 0 / 495.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.1339, allocations: 277.3 kB / 495.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.1344, allocations: 39.61 kB / 495.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009915/0.1354, allocations: 0.632 MB / 496.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.1357, allocations: 0.7358 MB / 497.1 MB, free: 3.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.849e-05/0.1358, allocations: 5.438 kB / 497.1 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.1358, allocations: 15.44 kB / 497.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1358, allocations: 0 / 497.1 MB, free: 3.719 MB / 366.1 MB Notification: Performance of Templates: time 0.004547/0.1404, allocations: 1.931 MB / 499.1 MB, free: 1.801 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches