Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.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.0009272/0.0009272, 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.001028/0.001028, 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.9073/0.9073, 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.2359/0.2359, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.QuaternionFromT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.311e-05, allocations: 6.219 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.QuaternionFromT): time 0.001566/0.001589, allocations: 0.9107 MB / 443.1 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.187/0.1886, allocations: 1.399 MB / 444.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.1886, allocations: 8.797 kB / 444.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.383e-05/0.1886, allocations: 20.77 kB / 444.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000793/0.1894, allocations: 314.5 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.27e-06/0.1894, allocations: 0 / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.1896, allocations: 120.6 kB / 444.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.579e-05/0.1896, allocations: 11.25 kB / 444.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.179e-05/0.1897, allocations: 79.5 kB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006386/0.1961, allocations: 10.79 MB / 455.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.815e-05/0.1962, allocations: 6.922 kB / 455.8 MB, free: 38.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.1965, allocations: 105.1 kB / 455.9 MB, free: 38.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1966, allocations: 227.7 kB / 456.1 MB, free: 38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.1966, allocations: 67.33 kB / 456.2 MB, free: 37.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.197, allocations: 428.9 kB / 456.6 MB, free: 37.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.197, allocations: 0 / 456.6 MB, free: 37.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.197, allocations: 7.156 kB / 456.6 MB, free: 37.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.197, allocations: 1.312 kB / 456.6 MB, free: 37.83 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006594/0.1976, allocations: 0.868 MB / 457.5 MB, free: 37.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1977, allocations: 6.969 kB / 457.5 MB, free: 37.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.181e-05/0.1978, allocations: 64.94 kB / 457.6 MB, free: 37.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.1978, allocations: 91.44 kB / 457.7 MB, free: 37.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.198, allocations: 331.8 kB / 458 MB, free: 36.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.198, allocations: 7.641 kB / 458 MB, free: 36.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.198, allocations: 10.61 kB / 458 MB, free: 36.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.1984, allocations: 0.5877 MB / 458.6 MB, free: 36.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1985, allocations: 3.562 kB / 458.6 MB, free: 36.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1985, allocations: 16.28 kB / 458.6 MB, free: 36.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/0.1986, allocations: 164.7 kB / 458.8 MB, free: 36.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.1988, allocations: 378.1 kB / 459.1 MB, free: 36.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006154/0.1995, allocations: 0.6376 MB / 459.8 MB, free: 35.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.1998, allocations: 0.7631 MB / 460.5 MB, free: 35.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.2001, allocations: 481.1 kB / 461 MB, free: 35.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.2001, allocations: 23.77 kB / 461 MB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2001, allocations: 67.05 kB / 461.1 MB, free: 35.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.625e-06/0.2001, allocations: 0 / 461.1 MB, free: 35.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.0009313/0.201, allocations: 1.336 MB / 462.4 MB, free: 34.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.2011, allocations: 0.6517 MB / 463.1 MB, free: 34.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.2017, allocations: 0.777 MB / 463.9 MB, free: 33.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.2017, allocations: 32.78 kB / 463.9 MB, free: 33.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2018, allocations: 302.5 kB / 464.2 MB, free: 33.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.2019, allocations: 319.5 kB / 464.5 MB, free: 33.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.202, allocations: 86.73 kB / 464.6 MB, free: 33.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.202, allocations: 337.4 kB / 464.9 MB, free: 32.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.2022, allocations: 345.8 kB / 465.3 MB, free: 32.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.2025, allocations: 0.5024 MB / 465.8 MB, free: 32.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.203, allocations: 0.9467 MB / 466.7 MB, free: 32.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.203, allocations: 3.438 kB / 466.7 MB, free: 32.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0005709/0.2035, allocations: 0.9529 MB / 467.7 MB, free: 32.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2036, allocations: 5.812 kB / 467.7 MB, free: 32.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2036, allocations: 6.031 kB / 467.7 MB, free: 32.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.2036, allocations: 9.938 kB / 467.7 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-06/0.2036, allocations: 23.2 kB / 467.7 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.2036, allocations: 7.469 kB / 467.7 MB, free: 32.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.2037, allocations: 51.27 kB / 467.8 MB, free: 32.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.2037, allocations: 35.97 kB / 467.8 MB, free: 32.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (24): * Single equations (assignments): 0 * Array equations: 24 * 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.0001954/0.2039, allocations: 300 kB / 468.1 MB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.204, allocations: 97.97 kB / 468.2 MB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.204, allocations: 94.3 kB / 468.3 MB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/0.2041, allocations: 176.8 kB / 468.5 MB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.2041, allocations: 9.219 kB / 468.5 MB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2042, allocations: 6.188 kB / 468.5 MB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.2046, allocations: 0.5311 MB / 469 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.2046, allocations: 6.156 kB / 469 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.2046, allocations: 13.34 kB / 469 MB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2046, allocations: 5.969 kB / 469 MB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2046, allocations: 16.42 kB / 469 MB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2046, allocations: 17.05 kB / 469.1 MB, free: 31.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2046, allocations: 9.906 kB / 469.1 MB, free: 31.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.2052, allocations: 1.088 MB / 470.2 MB, free: 31.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.2053, allocations: 101.9 kB / 470.3 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.2053, allocations: 14.02 kB / 470.3 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.788e-05/0.2054, allocations: 9.953 kB / 470.3 MB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.2054, allocations: 39.44 kB / 470.3 MB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.2054, allocations: 36.8 kB / 470.4 MB, free: 31.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003238/0.2058, allocations: 0.5639 MB / 470.9 MB, free: 31.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2058, allocations: 3.156 kB / 470.9 MB, free: 31.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.2061, allocations: 49.03 kB / 471 MB, free: 31.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 simulation (24): * Single equations (assignments): 0 * Array equations: 24 * 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.000838/0.2069, allocations: 1.658 MB / 472.6 MB, free: 30.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006043/0.2075, allocations: 0.7817 MB / 473.4 MB, free: 30 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.2075, allocations: 1.156 kB / 473.4 MB, free: 30 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.2078, allocations: 391.3 kB / 473.8 MB, free: 29.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.2081, allocations: 46.83 kB / 473.8 MB, free: 29.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.2099, allocations: 2.018 MB / 475.9 MB, free: 29.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.2102, allocations: 431.2 kB / 476.3 MB, free: 29.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.2104, allocations: 75.53 kB / 476.4 MB, free: 29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2105, allocations: 260.2 kB / 476.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2105, allocations: 0 / 476.6 MB, free: 28.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.2361, allocations: 10.53 MB / 487.1 MB, free: 27.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.865/7.101, allocations: 10.42 kB / 487.1 MB, free: 27.44 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT_fmu --startTime=0 --stopTime=0.1 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_QuaternionFromT.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Frames/QuaternionFromT/QuaternionFromT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.QuaternionFromT.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.014198110438883]