Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 194.4 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 226.5 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006849/0.0006848, allocations: 105.6 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2959/0.2959, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2843, allocations: 62.95 MB / 0.5159 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001343/0.2856, allocations: 1.529 MB / 0.5174 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002284/0.2859, allocations: 142.6 kB / 0.5176 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.286, allocations: 2.875 kB / 0.5176 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.286, allocations: 21.62 kB / 0.5176 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.2861, allocations: 43.73 kB / 0.5176 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.2862, allocations: 24.77 kB / 0.5177 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.2864, allocations: 181 kB / 0.5178 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2865, allocations: 44.86 kB / 0.5179 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.64e-05/0.2866, allocations: 54.03 kB / 0.5179 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.2867, allocations: 72.56 kB / 0.518 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.2867, allocations: 12.91 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/0.2867, allocations: 8.594 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.2868, allocations: 17.89 kB / 0.518 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.2868, allocations: 101.8 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.2869, allocations: 133.2 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.287, allocations: 3.938 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.287, allocations: 0 / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.287, allocations: 0 / 0.5183 GB, free: 35.55 MB / 378.7 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.000393/0.2874, allocations: 435 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2874, allocations: 9 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.2875, allocations: 47.42 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.2875, allocations: 17.09 kB / 0.5188 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.2876, allocations: 209.9 kB / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2876, allocations: 12.92 kB / 0.519 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.2877, allocations: 15.41 kB / 0.519 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.2879, allocations: 167.2 kB / 0.5191 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.2879, allocations: 11.94 kB / 0.5192 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.288, allocations: 7 kB / 0.5192 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.288, allocations: 6.953 kB / 0.5192 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.2881, allocations: 89.7 kB / 0.5193 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.2887, allocations: 0.6124 MB / 0.5198 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.2889, allocations: 122.5 kB / 0.52 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.2889, allocations: 53.31 kB / 0.52 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.289, allocations: 7 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.289, allocations: 30.56 kB / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.289, allocations: 0 / 0.5201 GB, free: 34.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006315/0.2896, allocations: 390.5 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.2897, allocations: 83.98 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.2897, allocations: 130.9 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.2898, allocations: 33.64 kB / 0.5207 GB, free: 33.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.2898, allocations: 125.3 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.2898, allocations: 60.64 kB / 0.5208 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.2899, allocations: 4 kB / 0.5208 GB, free: 33.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.2899, allocations: 321.1 kB / 0.5211 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.29, allocations: 38.52 kB / 0.5212 GB, free: 33.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.29, allocations: 101.5 kB / 0.5213 GB, free: 32.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.2902, allocations: 155.2 kB / 0.5214 GB, free: 32.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2902, allocations: 3.938 kB / 0.5214 GB, free: 32.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002831/0.2905, allocations: 227.2 kB / 0.5217 GB, free: 32.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2905, allocations: 5.938 kB / 0.5217 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2905, allocations: 6.688 kB / 0.5217 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.2907, allocations: 48.61 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2908, allocations: 42.69 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.2921, allocations: 2.724 MB / 0.5244 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.2922, allocations: 14.75 kB / 0.5244 GB, free: 29.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2922, allocations: 11.73 kB / 0.5244 GB, free: 29.86 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.2923, allocations: 132.5 kB / 0.5246 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.2924, allocations: 15.53 kB / 0.5246 GB, free: 29.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.2924, allocations: 15.44 kB / 0.5246 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2924, allocations: 0 / 0.5246 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2924, allocations: 2.75 kB / 0.5246 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2924, allocations: 3.938 kB / 0.5246 GB, free: 29.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.2926, allocations: 240 kB / 0.5248 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2927, allocations: 0 / 0.5248 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.2928, allocations: 29.2 kB / 0.5249 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001097/0.2929, allocations: 53.52 kB / 0.5249 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.2929, allocations: 3.469 kB / 0.5249 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.2941, allocations: 2.717 MB / 0.5276 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2941, allocations: 0 / 0.5276 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.2944, allocations: 373.3 kB / 0.5279 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.2944, allocations: 90.97 kB / 0.528 GB, free: 26.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.2945, allocations: 10.88 kB / 0.528 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.2946, allocations: 0 / 0.528 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.2946, allocations: 17.09 kB / 0.528 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.2946, allocations: 2.906 kB / 0.528 GB, free: 26.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.69e-05/0.2946, allocations: 110.1 kB / 0.5281 GB, free: 26.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2946, allocations: 0 / 0.5281 GB, free: 26.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003869/0.295, allocations: 53.31 kB / 0.5282 GB, free: 26.2 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004285/0.2955, allocations: 0.9008 MB / 0.5291 GB, free: 25.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.2959, allocations: 345.7 kB / 0.5294 GB, free: 25.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2959, allocations: 3.938 kB / 0.5294 GB, free: 25.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.2961, allocations: 283.7 kB / 0.5297 GB, free: 24.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.2966, allocations: 28.17 kB / 0.5297 GB, free: 24.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.2981, allocations: 1.378 MB / 0.531 GB, free: 23.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.2982, allocations: 0.7207 MB / 0.5318 GB, free: 23.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.2983, allocations: 42.28 kB / 0.5318 GB, free: 23.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2983, allocations: 0 / 0.5318 GB, free: 23.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.285/3.583, allocations: 3.642 MB / 0.5353 GB, free: 22.82 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches