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.0009549/0.0009549, allocations: 90.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001021, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2/0.2, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.000263, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1136, allocations: 63.56 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002005/0.1157, allocations: 1.57 MB / 485.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003946/0.1161, allocations: 155.4 kB / 485.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1162, allocations: 4 kB / 485.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.411e-05/0.1163, allocations: 23.84 kB / 485.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1164, allocations: 39.67 kB / 485.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.1166, allocations: 35.92 kB / 485.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1168, allocations: 171.1 kB / 485.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.117, allocations: 49.83 kB / 485.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1171, allocations: 67.72 kB / 485.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1172, allocations: 63.7 kB / 485.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.1173, allocations: 11.94 kB / 485.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.829e-05/0.1173, allocations: 8 kB / 485.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.1173, allocations: 31.84 kB / 485.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.957e-05/0.1174, allocations: 101.4 kB / 486 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.1176, allocations: 135.8 kB / 486.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1176, allocations: 3.984 kB / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1176, allocations: 0 / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1176, allocations: 0 / 486.2 MB, free: 1.703 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.0005585/0.1182, allocations: 423.3 kB / 486.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1183, allocations: 12.88 kB / 486.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.1183, allocations: 16.75 kB / 486.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1185, allocations: 212.1 kB / 486.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1186, allocations: 8.703 kB / 486.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.1186, allocations: 16.38 kB / 486.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.1189, allocations: 166.2 kB / 487 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1189, allocations: 8.094 kB / 487 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.119, allocations: 11.94 kB / 487 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.119, allocations: 4 kB / 487 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1191, allocations: 87.88 kB / 487.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008119/0.12, allocations: 0.615 MB / 487.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.1202, allocations: 125.2 kB / 487.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.1203, allocations: 61.81 kB / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1203, allocations: 0 / 487.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.1203, allocations: 34.56 kB / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1203, allocations: 0 / 488 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007757/0.1211, allocations: 381.2 kB / 488.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1212, allocations: 89.09 kB / 488.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1213, allocations: 122.1 kB / 488.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1213, allocations: 29.7 kB / 488.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.1214, allocations: 128.4 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.1214, allocations: 59.11 kB / 488.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1215, allocations: 21.7 kB / 488.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1216, allocations: 326.8 kB / 489.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.1216, allocations: 39.92 kB / 489.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1218, allocations: 108.5 kB / 489.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.1219, allocations: 156.5 kB / 489.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.122, allocations: 3.938 kB / 489.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003497/0.1223, allocations: 222.9 kB / 489.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1223, allocations: 4 kB / 489.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1224, allocations: 7.984 kB / 489.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.1226, allocations: 49.94 kB / 489.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1227, allocations: 39.92 kB / 489.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.1246, allocations: 2.721 MB / 492.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.1247, allocations: 20.09 kB / 492.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1248, allocations: 8 kB / 492.5 MB, free: 10.78 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.0001039/0.1249, allocations: 140.7 kB / 492.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.1249, allocations: 11.91 kB / 492.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.125, allocations: 16.7 kB / 492.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.125, allocations: 4 kB / 492.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.125, allocations: 0 / 492.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.125, allocations: 0 / 492.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.1253, allocations: 241.4 kB / 492.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1253, allocations: 3.938 kB / 492.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.1254, allocations: 27.98 kB / 492.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.1256, allocations: 41.7 kB / 492.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1256, allocations: 4 kB / 492.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.1274, allocations: 2.728 MB / 495.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1274, allocations: 7.984 kB / 495.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.1278, allocations: 384.5 kB / 496 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.1278, allocations: 81.02 kB / 496.1 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1279, allocations: 4 kB / 496.1 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.128, allocations: 8 kB / 496.1 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.128, allocations: 11.98 kB / 496.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.128, allocations: 7.984 kB / 496.2 MB, free: 6.707 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.803e-05/0.1281, allocations: 105.7 kB / 496.3 MB, free: 6.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.342e-06/0.1281, allocations: 0 / 496.3 MB, free: 6.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000438/0.1285, allocations: 55.84 kB / 496.3 MB, free: 6.551 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.0001031/0.1286, allocations: 95.25 kB / 496.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.1292, allocations: 353.1 kB / 496.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1292, allocations: 8.062 kB / 496.8 MB, free: 6.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.1295, allocations: 281.2 kB / 497 MB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1299, allocations: 27.98 kB / 497.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.131, allocations: 0.8265 MB / 497.9 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1313, allocations: 0.7319 MB / 498.6 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.1313, allocations: 11.44 kB / 498.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1313, allocations: 0 / 498.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of Templates: time 0.004887/0.1362, allocations: 3.097 MB / 0.49 GB, free: 1.02 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 -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