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.001238/0.001238, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 82.52 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 62.45 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003367/0.1126, allocations: 1.912 MB / 481.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003795/0.113, allocations: 151.5 kB / 481.7 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.601e-05/0.1131, allocations: 4 kB / 481.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.911e-05/0.1132, allocations: 15.86 kB / 481.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.1134, allocations: 43.62 kB / 481.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.1135, allocations: 35.97 kB / 481.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1138, allocations: 187.1 kB / 481.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.1139, allocations: 61.5 kB / 482 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1141, allocations: 63.73 kB / 482.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.1142, allocations: 71.7 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.1142, allocations: 16 kB / 482.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.66e-05/0.1142, allocations: 12 kB / 482.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.1143, allocations: 43.84 kB / 482.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.1144, allocations: 83.59 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1146, allocations: 171.7 kB / 482.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1146, allocations: 0 / 482.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1146, allocations: 0 / 482.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1146, allocations: 0 / 482.5 MB, free: 2.648 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.0005648/0.1152, allocations: 455.2 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1152, allocations: 8.031 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.253e-05/0.1153, allocations: 62.67 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.1153, allocations: 16.75 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1155, allocations: 208.1 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1156, allocations: 12.7 kB / 483.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.1156, allocations: 20.28 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.1159, allocations: 166.2 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1159, allocations: 7.875 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1159, allocations: 8 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1159, allocations: 7.938 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1161, allocations: 91.95 kB / 483.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007546/0.1168, allocations: 0.6072 MB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.117, allocations: 129.1 kB / 484.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.1171, allocations: 57.69 kB / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1172, allocations: 0 / 484.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1172, allocations: 38.56 kB / 484.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.1172, allocations: 0 / 484.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007398/0.1179, allocations: 377.4 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.118, allocations: 85.05 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1181, allocations: 133 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1181, allocations: 29.7 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.1182, allocations: 128 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.1183, allocations: 55.2 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.1183, allocations: 33.72 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1184, allocations: 326.8 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.321e-05/0.1185, allocations: 43.97 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-05/0.1186, allocations: 99.62 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.1188, allocations: 164.7 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1188, allocations: 0 / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003503/0.1191, allocations: 226.8 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1192, allocations: 8 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1192, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.1194, allocations: 49.95 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1195, allocations: 35.92 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.1216, allocations: 2.995 MB / 489.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.576e-05/0.1217, allocations: 11.84 kB / 489.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1217, allocations: 12 kB / 489.1 MB, free: 11.34 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.0001305/0.1219, allocations: 129.9 kB / 489.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.1219, allocations: 11.89 kB / 489.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.1219, allocations: 20.66 kB / 489.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.122, allocations: 4 kB / 489.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.122, allocations: 0 / 489.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.122, allocations: 0 / 489.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.1223, allocations: 237.4 kB / 489.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1223, allocations: 0 / 489.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1224, allocations: 23.98 kB / 489.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001313/0.1226, allocations: 49.7 kB / 489.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1226, allocations: 11.88 kB / 489.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.1246, allocations: 2.994 MB / 492.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1246, allocations: 160 / 492.6 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.125, allocations: 380.3 kB / 492.9 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1251, allocations: 93.02 kB / 493 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1251, allocations: 0 / 493 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1252, allocations: 3.938 kB / 493 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1253, allocations: 19.98 kB / 493.1 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1253, allocations: 4 kB / 493.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.89e-05/0.1254, allocations: 99.27 kB / 493.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1254, allocations: 96 / 493.2 MB, free: 6.898 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004437/0.1258, allocations: 51.84 kB / 493.2 MB, free: 6.848 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.0007345/0.1266, allocations: 0.9122 MB / 494.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005908/0.1272, allocations: 356.7 kB / 494.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1272, allocations: 0 / 494.5 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.1275, allocations: 285.2 kB / 494.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.128, allocations: 27.97 kB / 494.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.1308, allocations: 2.375 MB / 497.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1311, allocations: 0.7281 MB / 497.9 MB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.111e-05/0.1312, allocations: 9.422 kB / 497.9 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.1312, allocations: 39.8 kB / 497.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1312, allocations: 0 / 497.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.151, allocations: 3.607 MB / 0.4898 GB, free: 14.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.1512, allocations: 247.4 kB / 0.49 GB, free: 14.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.109, allocations: 0 / 0.49 GB, free: 14.2 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