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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1802/0.1802, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 70.33 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1044, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002411/0.1068, allocations: 1.855 MB / 482 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002565/0.1071, allocations: 151.4 kB / 482.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.1071, allocations: 4 kB / 482.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.814e-05/0.1072, allocations: 19.8 kB / 482.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.1073, allocations: 55.48 kB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.1074, allocations: 39.95 kB / 482.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1076, allocations: 183.1 kB / 482.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1077, allocations: 69.48 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.1078, allocations: 63.78 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.1079, allocations: 75.69 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1079, allocations: 16 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.578e-05/0.1079, allocations: 12 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.108, allocations: 35.86 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.1081, allocations: 79.61 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1082, allocations: 179.6 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1082, allocations: 0 / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1082, allocations: 4 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1083, allocations: 4 kB / 483 MB, free: 2.348 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.0004454/0.1087, allocations: 455.2 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.1087, allocations: 8.031 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.1088, allocations: 50.73 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.1088, allocations: 16.75 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.109, allocations: 208 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.109, allocations: 16.7 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.109, allocations: 20.28 kB / 483.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1093, allocations: 166.2 kB / 483.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.1093, allocations: 7.938 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1093, allocations: 11.94 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.1093, allocations: 4 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1094, allocations: 91.88 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.1101, allocations: 0.6111 MB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.1103, allocations: 133.2 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.543e-05/0.1104, allocations: 49.7 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.1104, allocations: 0 / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1104, allocations: 42.55 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 8.61e-07/0.1104, allocations: 0 / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006722/0.1111, allocations: 377.4 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1112, allocations: 81.09 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/0.1112, allocations: 136.6 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1113, allocations: 25.7 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.1113, allocations: 136 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1114, allocations: 59.19 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1114, allocations: 37.7 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1115, allocations: 322.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.685e-05/0.1116, allocations: 35.98 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.1117, allocations: 108.6 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.1119, allocations: 156.8 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1119, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000342/0.1122, allocations: 230.9 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1122, allocations: 10.5 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1123, allocations: 0 / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.1124, allocations: 49.69 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1126, allocations: 39.92 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.1144, allocations: 2.991 MB / 489.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/0.1145, allocations: 15.84 kB / 489.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1145, allocations: 8 kB / 489.6 MB, free: 11.04 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 8.289e-05/0.1146, allocations: 129.8 kB / 489.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.1146, allocations: 11.91 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.1147, allocations: 24.7 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1147, allocations: 4 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1147, allocations: 0 / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1147, allocations: 0 / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.115, allocations: 237.4 kB / 490 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.115, allocations: 0 / 490 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.1151, allocations: 23.98 kB / 490 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001128/0.1152, allocations: 49.69 kB / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1152, allocations: 7.938 kB / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.117, allocations: 2.986 MB / 493.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1171, allocations: 0 / 493.1 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.1174, allocations: 378.7 kB / 493.4 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.1175, allocations: 88.95 kB / 493.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1175, allocations: 3.984 kB / 493.5 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.1176, allocations: 8 kB / 493.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.1176, allocations: 11.98 kB / 493.5 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1176, allocations: 8 kB / 493.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.655e-05/0.1177, allocations: 95.27 kB / 493.6 MB, free: 6.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1177, allocations: 4 kB / 493.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.1181, allocations: 51.91 kB / 493.7 MB, free: 6.555 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.0005626/0.1186, allocations: 0.9085 MB / 494.6 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.1191, allocations: 353 kB / 495 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1191, allocations: 0 / 495 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.1194, allocations: 297.7 kB / 495.2 MB, free: 4.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.1198, allocations: 28.16 kB / 495.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.1219, allocations: 2.312 MB / 497.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1222, allocations: 0.7203 MB / 498.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.893e-05/0.1222, allocations: 21.41 kB / 498.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.1223, allocations: 39.42 kB / 498.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1223, allocations: 3.938 kB / 498.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.469/1.591, allocations: 3.67 MB / 0.4903 GB, free: 14.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/15.15, allocations: 10.55 kB / 0.4903 GB, free: 14.11 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > 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