Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.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.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 193.7 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.271/1.271, allocations: 226.5 MB / 243.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007046/0.0007046, allocations: 104.9 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.2914/0.2914, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002806, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2834, allocations: 62.96 MB / 0.516 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002066/0.2855, allocations: 2.613 MB / 0.5185 GB, free: 35.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004824/0.2861, allocations: 414.7 kB / 0.5189 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2862, allocations: 12.69 kB / 0.5189 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 7.062e-05/0.2863, allocations: 46.56 kB / 0.519 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.2865, allocations: 146.2 kB / 0.5191 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.2867, allocations: 70.55 kB / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.287, allocations: 0.5141 MB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.2872, allocations: 125.2 kB / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.2873, allocations: 174.6 kB / 0.52 GB, free: 34.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.2875, allocations: 191.3 kB / 0.5201 GB, free: 34.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.2875, allocations: 25.16 kB / 0.5202 GB, free: 34.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.2876, allocations: 24.38 kB / 0.5202 GB, free: 34.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.2877, allocations: 73.02 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2878, allocations: 245.7 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.2881, allocations: 378.3 kB / 0.5208 GB, free: 33.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2881, allocations: 6.5 kB / 0.5209 GB, free: 33.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2881, allocations: 0 / 0.5209 GB, free: 33.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2881, allocations: 0 / 0.5209 GB, free: 33.89 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0006739/0.2888, allocations: 0.6346 MB / 0.5215 GB, free: 33.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2888, allocations: 15.44 kB / 0.5215 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.9e-05/0.2889, allocations: 88.03 kB / 0.5216 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.289, allocations: 50.75 kB / 0.5216 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.2892, allocations: 289 kB / 0.5219 GB, free: 33.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2893, allocations: 36.06 kB / 0.5219 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.2893, allocations: 55.89 kB / 0.522 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.2899, allocations: 452.7 kB / 0.5224 GB, free: 32.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.2899, allocations: 26.41 kB / 0.5224 GB, free: 32.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.2899, allocations: 17.75 kB / 0.5225 GB, free: 32.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.29, allocations: 12.31 kB / 0.5225 GB, free: 32.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003216/0.2903, allocations: 260.4 kB / 0.5227 GB, free: 32.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.2919, allocations: 1.701 MB / 0.5244 GB, free: 31.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.2923, allocations: 414.1 kB / 0.5248 GB, free: 31.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2924, allocations: 155 kB / 0.5249 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2925, allocations: 13.16 kB / 0.5249 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2925, allocations: 47.97 kB / 0.525 GB, free: 30.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.804e-06/0.2925, allocations: 0 / 0.525 GB, free: 30.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006131/0.2931, allocations: 358.6 kB / 0.5253 GB, free: 30.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.2932, allocations: 262.5 kB / 0.5256 GB, free: 30.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.2933, allocations: 249.8 kB / 0.5258 GB, free: 30.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2934, allocations: 32.23 kB / 0.5258 GB, free: 30.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.2935, allocations: 245 kB / 0.5261 GB, free: 29.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.2935, allocations: 184.5 kB / 0.5263 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.2936, allocations: 10.91 kB / 0.5263 GB, free: 29.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.2936, allocations: 348.2 kB / 0.5266 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.2938, allocations: 119.2 kB / 0.5267 GB, free: 29.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.294, allocations: 419 kB / 0.5271 GB, free: 29.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.2945, allocations: 0.5746 MB / 0.5277 GB, free: 28.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2945, allocations: 3.875 kB / 0.5277 GB, free: 28.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000626/0.2951, allocations: 0.5562 MB / 0.5282 GB, free: 28.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2951, allocations: 11.47 kB / 0.5282 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2952, allocations: 16.05 kB / 0.5282 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2952, allocations: 22.28 kB / 0.5283 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.2956, allocations: 178.9 kB / 0.5284 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.2957, allocations: 19.91 kB / 0.5285 GB, free: 28.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.2959, allocations: 55.34 kB / 0.5285 GB, free: 28.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.2959, allocations: 38.61 kB / 0.5285 GB, free: 28.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.2961, allocations: 182.6 kB / 0.5287 GB, free: 28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.2962, allocations: 43.19 kB / 0.5288 GB, free: 27.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.2963, allocations: 41.48 kB / 0.5288 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.2963, allocations: 9.188 kB / 0.5288 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2963, allocations: 6.594 kB / 0.5288 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2964, allocations: 6.25 kB / 0.5288 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007916/0.2971, allocations: 413.6 kB / 0.5292 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2972, allocations: 0 / 0.5292 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.2977, allocations: 121.5 kB / 0.5293 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2977, allocations: 7.266 kB / 0.5293 GB, free: 27.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.2977, allocations: 21.33 kB / 0.5294 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2977, allocations: 13.78 kB / 0.5294 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2977, allocations: 6.969 kB / 0.5294 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.2983, allocations: 1.078 MB / 0.5304 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.2983, allocations: 112.1 kB / 0.5305 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.2984, allocations: 17.88 kB / 0.5306 GB, free: 26.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.2987, allocations: 7 kB / 0.5306 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.2988, allocations: 28.89 kB / 0.5306 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.2988, allocations: 12.62 kB / 0.5306 GB, free: 26.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.2989, allocations: 174.1 kB / 0.5308 GB, free: 26.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2989, allocations: 0 / 0.5308 GB, free: 26.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007095/0.2996, allocations: 134.7 kB / 0.5309 GB, free: 26.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007289/0.3004, allocations: 1.626 MB / 0.5325 GB, free: 25.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.3008, allocations: 345.1 kB / 0.5328 GB, free: 24.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3008, allocations: 0 / 0.5328 GB, free: 24.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3009, allocations: 127.9 kB / 0.5329 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.3021, allocations: 88.8 kB / 0.533 GB, free: 24.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.306, allocations: 3.924 MB / 0.5368 GB, free: 22.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3063, allocations: 0.8289 MB / 0.5377 GB, free: 21.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3065, allocations: 146.5 kB / 0.5378 GB, free: 21.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3065, allocations: 0 / 0.5378 GB, free: 21.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.692/2.999, allocations: 6.171 MB / 0.5438 GB, free: 20.65 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches