Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008625/0.0008625, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008182/0.0008182, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8741/0.8741, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2378/0.2378, allocations: 34.25 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] 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.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 442.1 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.826e-05, allocations: 5.094 kB / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.1937/0.1937, allocations: 2.811 MB / 445 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005741/0.1943, allocations: 421.5 kB / 445.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1944, allocations: 9.656 kB / 445.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.447e-05/0.1945, allocations: 68.38 kB / 445.4 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1947, allocations: 173.2 kB / 445.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.1948, allocations: 101.6 kB / 445.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.195, allocations: 0.5657 MB / 446.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.1952, allocations: 107.4 kB / 446.4 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1954, allocations: 318.6 kB / 446.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1955, allocations: 153.5 kB / 446.8 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.1956, allocations: 40.38 kB / 446.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.721e-05/0.1956, allocations: 48.53 kB / 446.9 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.1956, allocations: 99.11 kB / 447 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.1957, allocations: 175.7 kB / 447.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.196, allocations: 0.5257 MB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.196, allocations: 0 / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.196, allocations: 0 / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.196, allocations: 0 / 447.7 MB, free: 41.91 MB / 410.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.0005575/0.1966, allocations: 0.6537 MB / 448.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1966, allocations: 12.44 kB / 448.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.1967, allocations: 86.97 kB / 448.5 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1967, allocations: 51.03 kB / 448.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.1969, allocations: 226.4 kB / 448.8 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1969, allocations: 37 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.197, allocations: 62.5 kB / 448.8 MB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.1973, allocations: 454.1 kB / 449.3 MB, free: 40.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1973, allocations: 14.25 kB / 449.3 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1974, allocations: 23.44 kB / 449.3 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1974, allocations: 17.91 kB / 449.3 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.1976, allocations: 258.2 kB / 449.6 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1986, allocations: 1.551 MB / 451.1 MB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.1989, allocations: 396.8 kB / 451.5 MB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.199, allocations: 153.1 kB / 451.7 MB, free: 39.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.199, allocations: 9.594 kB / 451.7 MB, free: 39.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.199, allocations: 49.95 kB / 451.7 MB, free: 39.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.453e-06/0.199, allocations: 0 / 451.7 MB, free: 39.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003953/0.1994, allocations: 350.4 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1994, allocations: 268.8 kB / 452.3 MB, free: 38.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1995, allocations: 260.8 kB / 452.6 MB, free: 38.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1996, allocations: 36.42 kB / 452.6 MB, free: 38.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.1996, allocations: 251.5 kB / 452.9 MB, free: 38.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.1997, allocations: 188.9 kB / 453.1 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.1997, allocations: 118.5 kB / 453.2 MB, free: 38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.1998, allocations: 345.5 kB / 453.5 MB, free: 37.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1999, allocations: 119.1 kB / 453.6 MB, free: 37.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2, allocations: 425.2 kB / 454.1 MB, free: 37.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.2003, allocations: 0.5692 MB / 454.6 MB, free: 36.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2003, allocations: 2.875 kB / 454.6 MB, free: 36.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00041/0.2008, allocations: 0.5685 MB / 455.2 MB, free: 36.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2008, allocations: 8.688 kB / 455.2 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2008, allocations: 11.69 kB / 455.2 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2008, allocations: 14.62 kB / 455.2 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.2011, allocations: 185.7 kB / 455.4 MB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.2011, allocations: 18.31 kB / 455.4 MB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.2012, allocations: 75.45 kB / 455.5 MB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2012, allocations: 32.03 kB / 455.5 MB, free: 36.34 MB / 410.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 8.506e-05/0.2013, allocations: 187.8 kB / 455.7 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.2014, allocations: 36.53 kB / 455.8 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.2014, allocations: 41.61 kB / 455.8 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2014, allocations: 8.688 kB / 455.8 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2014, allocations: 3.031 kB / 455.8 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2014, allocations: 7.359 kB / 455.8 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.202, allocations: 365.3 kB / 456.2 MB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.202, allocations: 0 / 456.2 MB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.2023, allocations: 127.7 kB / 456.3 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.2023, allocations: 5.562 kB / 456.3 MB, free: 35.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.2023, allocations: 17.19 kB / 456.3 MB, free: 35.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2023, allocations: 6.781 kB / 456.3 MB, free: 35.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2023, allocations: 3 kB / 456.3 MB, free: 35.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.2026, allocations: 1.084 MB / 457.4 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.2027, allocations: 39 kB / 457.4 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.2027, allocations: 12.92 kB / 457.5 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2029, allocations: 10.47 kB / 457.5 MB, free: 34.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.2029, allocations: 34.8 kB / 457.5 MB, free: 34.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.2029, allocations: 14.59 kB / 457.5 MB, free: 34.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.734e-05/0.203, allocations: 172 kB / 457.7 MB, free: 34.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.203, allocations: 2.75 kB / 457.7 MB, free: 34.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.2035, allocations: 135.5 kB / 457.8 MB, free: 34.81 MB / 410.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.0004714/0.2039, allocations: 1.628 MB / 459.4 MB, free: 33.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.2042, allocations: 345.1 kB / 459.8 MB, free: 33.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2042, allocations: 3.281 kB / 459.8 MB, free: 33.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.2043, allocations: 123.4 kB / 459.9 MB, free: 33.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.205, allocations: 94.75 kB / 460 MB, free: 33.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.2077, allocations: 5.096 MB / 465.1 MB, free: 29.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2078, allocations: 229.9 kB / 465.3 MB, free: 29.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.289e-05/0.2079, allocations: 47.64 kB / 465.4 MB, free: 29.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.208, allocations: 146.7 kB / 465.5 MB, free: 29.03 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.208, allocations: 0 / 465.5 MB, free: 29.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.2266, allocations: 9.275 MB / 474.8 MB, free: 27.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.834/7.061, allocations: 6.719 kB / 474.8 MB, free: 27.34 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.05324415396899]