Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008541/0.0008541, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8625/0.8625, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1267/0.1267, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 406.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.855e-05, allocations: 14.02 kB / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002636/0.002654, allocations: 2.81 MB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.003423, allocations: 410.5 kB / 410 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.00357, allocations: 11.94 kB / 410.1 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.003671, allocations: 67.31 kB / 410.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.003913, allocations: 182.3 kB / 410.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.004127, allocations: 95.84 kB / 410.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.004494, allocations: 0.5634 MB / 411 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.004681, allocations: 109.2 kB / 411.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.00496, allocations: 319.3 kB / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.005122, allocations: 163.5 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.00517, allocations: 40 kB / 411.6 MB, free: 13.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.005212, allocations: 40 kB / 411.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.005265, allocations: 95.66 kB / 411.7 MB, free: 13.35 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.005628, allocations: 175.7 kB / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.006003, allocations: 0.5295 MB / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006006, allocations: 0 / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006007, allocations: 0 / 412.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.006014, allocations: 0 / 412.4 MB, free: 12.64 MB / 394.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.00072/0.006734, allocations: 0.6416 MB / 413 MB, free: 11.97 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.006775, allocations: 16.03 kB / 413.1 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.466e-05/0.00684, allocations: 86.72 kB / 413.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.006898, allocations: 56.55 kB / 413.2 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.007152, allocations: 236.7 kB / 413.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.007176, allocations: 37.38 kB / 413.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.007232, allocations: 60.31 kB / 413.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.00767, allocations: 462.6 kB / 414 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.007692, allocations: 4.141 kB / 414 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.007718, allocations: 28.36 kB / 414 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.00773, allocations: 16.12 kB / 414 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.008009, allocations: 259.7 kB / 414.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.009417, allocations: 1.554 MB / 415.8 MB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.009797, allocations: 395.4 kB / 416.2 MB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.009938, allocations: 147.6 kB / 416.4 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.009966, allocations: 15.97 kB / 416.4 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.009994, allocations: 51.05 kB / 416.4 MB, free: 8.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.009996, allocations: 0 / 416.4 MB, free: 8.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005075/0.0105, allocations: 361.1 kB / 416.8 MB, free: 7.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.01061, allocations: 269 kB / 417 MB, free: 7.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.0108, allocations: 254 kB / 417.3 MB, free: 7.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.01082, allocations: 37.7 kB / 417.3 MB, free: 7.328 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.01094, allocations: 248.7 kB / 417.6 MB, free: 7.078 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.881e-05/0.01103, allocations: 186.4 kB / 417.8 MB, free: 6.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.01112, allocations: 118.6 kB / 417.9 MB, free: 6.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01122, allocations: 346.8 kB / 418.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.01136, allocations: 117.9 kB / 418.3 MB, free: 6.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/0.01204, allocations: 417.6 kB / 418.7 MB, free: 5.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.0125, allocations: 0.5771 MB / 419.3 MB, free: 5.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.0125, allocations: 0 / 419.3 MB, free: 5.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005466/0.01305, allocations: 0.5714 MB / 419.9 MB, free: 4.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.01307, allocations: 12 kB / 419.9 MB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.01308, allocations: 11.98 kB / 419.9 MB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.01311, allocations: 16.62 kB / 419.9 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.01342, allocations: 175.7 kB / 420.1 MB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.01344, allocations: 20.39 kB / 420.1 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.01358, allocations: 67.5 kB / 420.2 MB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.0136, allocations: 36 kB / 420.2 MB, free: 4.141 MB / 394.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.01374, allocations: 185.5 kB / 420.4 MB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.01383, allocations: 47.75 kB / 420.4 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.01389, allocations: 41.77 kB / 420.5 MB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.0139, allocations: 4 kB / 420.5 MB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.0139, allocations: 4 kB / 420.5 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.01391, allocations: 11.88 kB / 420.5 MB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006124/0.01452, allocations: 360.3 kB / 420.9 MB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.01453, allocations: 4 kB / 420.9 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.01485, allocations: 131.8 kB / 421 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.01485, allocations: 4 kB / 421 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.01488, allocations: 12 kB / 421 MB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01488, allocations: 4 kB / 421 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.01488, allocations: 7.984 kB / 421 MB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.01551, allocations: 1.075 MB / 422.1 MB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.01555, allocations: 43.64 kB / 422.1 MB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.01558, allocations: 8 kB / 422.1 MB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.0158, allocations: 12 kB / 422.2 MB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.01584, allocations: 31.89 kB / 422.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.01586, allocations: 19.98 kB / 422.2 MB, free: 2.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.922e-05/0.01596, allocations: 169.2 kB / 422.4 MB, free: 1.918 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01596, allocations: 7.938 kB / 422.4 MB, free: 1.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004862/0.01644, allocations: 135.8 kB / 422.5 MB, free: 1.777 MB / 394.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000763/0.01721, allocations: 1.617 MB / 424.1 MB, free: 128 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003553/0.01756, allocations: 342.1 kB / 424.5 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01757, allocations: 0 / 424.5 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.01767, allocations: 120.2 kB / 424.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/0.01843, allocations: 97.58 kB / 424.7 MB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.02237, allocations: 5.102 MB / 429.8 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.02253, allocations: 228.2 kB / 430 MB, free: 9.852 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.02263, allocations: 48.16 kB / 430 MB, free: 9.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.02276, allocations: 148.4 kB / 430.2 MB, free: 9.66 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02276, allocations: 0 / 430.2 MB, free: 9.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.04333, allocations: 9.268 MB / 439.5 MB, free: 380 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/6.707, allocations: 12 kB / 439.5 MB, free: 368 kB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.73921126127243]