Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.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.0008687/0.0008687, 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.0008461/0.0008461, allocations: 160.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.746 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.2537/0.2537, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.336e-05, allocations: 6.219 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.171/0.1711, allocations: 14.63 MB / 456.8 MB, free: 35.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006032/0.1771, allocations: 3.811 MB / 460.6 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.1792, allocations: 113.2 kB / 460.7 MB, free: 33.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.1817, allocations: 2.242 MB / 462.9 MB, free: 32.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003793/0.1854, allocations: 2.665 MB / 465.6 MB, free: 31.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.186, allocations: 336 kB / 465.9 MB, free: 31.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006156/0.1921, allocations: 6.662 MB / 472.6 MB, free: 28.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003314/0.1955, allocations: 3.102 MB / 475.7 MB, free: 26.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003984/0.1994, allocations: 3.102 MB / 478.8 MB, free: 25.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/0.2025, allocations: 2.924 MB / 481.7 MB, free: 24.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.2036, allocations: 389.9 kB / 482.1 MB, free: 24.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.2053, allocations: 0.8411 MB / 482.9 MB, free: 24.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002245/0.2076, allocations: 2.903 MB / 485.9 MB, free: 23.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00274/0.2103, allocations: 1.653 MB / 487.5 MB, free: 22.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.2213, allocations: 10.39 MB / 497.9 MB, free: 19.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2213, allocations: 1.094 kB / 497.9 MB, free: 19.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.2213, allocations: 4.703 kB / 497.9 MB, free: 19.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004997/0.2218, allocations: 0 / 497.9 MB, free: 19.02 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01758/0.2394, allocations: 7.007 MB / 0.4931 GB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.2394, allocations: 16.09 kB / 0.4931 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003222/0.2427, allocations: 1.27 MB / 0.4943 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.2537, allocations: 5.961 MB / 0.5002 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007011/0.2607, allocations: 3.272 MB / 0.5033 GB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.2609, allocations: 320.3 kB / 0.5037 GB, free: 7.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.2626, allocations: 420 kB / 0.5041 GB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0266/0.2892, allocations: 18.92 MB / 0.5225 GB, free: 2.934 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.2893, allocations: 39.62 kB / 0.5226 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.2903, allocations: 203.7 kB / 0.5228 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004818/0.2952, allocations: 4.746 MB / 0.5274 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/0.3227, allocations: 17.53 MB / 0.5445 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06928/0.392, allocations: 58.56 MB / 0.6017 GB, free: 296 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009483/0.4015, allocations: 6.581 MB / 0.6081 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/0.4039, allocations: 2.391 MB / 0.6105 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0131/0.417, allocations: 9.759 MB / 0.62 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.417, allocations: 56.56 kB / 0.6201 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=321): time 6.252e-06/0.417, allocations: 0 / 0.6201 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321): time 0.01123/0.4283, allocations: 7.923 MB / 0.6278 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.4283, allocations: 107.1 kB / 0.6279 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1993/0.6277, allocations: 6.012 MB / 0.6338 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005172/0.6282, allocations: 60.95 kB / 0.6338 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002402/0.6306, allocations: 5.238 MB / 0.6389 GB, free: 148.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001104/0.6317, allocations: 1.227 MB / 0.6401 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002542/0.6342, allocations: 1.89 MB / 0.642 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.251e-05/0.6343, allocations: 310.6 kB / 0.6423 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/0.6374, allocations: 3.202 MB / 0.6454 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004561/0.642, allocations: 8.656 MB / 0.6539 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00879/0.6508, allocations: 12.92 MB / 0.6665 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001891/0.651, allocations: 56.97 kB / 0.6665 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01677/0.6677, allocations: 11.67 MB / 0.6779 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.6679, allocations: 86.19 kB / 0.678 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002294/0.6681, allocations: 190 kB / 0.6782 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.6684, allocations: 253.2 kB / 0.6784 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004646/0.673, allocations: 2.079 MB / 0.6805 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000279/0.6733, allocations: 379.7 kB / 0.6808 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005556/0.6788, allocations: 1.361 MB / 0.6822 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/0.6803, allocations: 0.5486 MB / 0.6827 GB, free: 121.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.006371/0.6866, allocations: 3.708 MB / 0.6863 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000598/0.6872, allocations: 0.4996 MB / 0.6868 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008386/0.6881, allocations: 0.6434 MB / 0.6874 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.539e-05/0.6881, allocations: 62.02 kB / 0.6875 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.6881, allocations: 3.938 kB / 0.6875 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.6882, allocations: 13.78 kB / 0.6875 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.7027, allocations: 12.33 MB / 0.6995 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.7027, allocations: 13.66 kB / 0.6996 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.7037, allocations: 422.2 kB / 0.7 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/0.7037, allocations: 19.78 kB / 0.7 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.7039, allocations: 65.56 kB / 0.7 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/0.7039, allocations: 31.06 kB / 0.7001 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.465e-06/0.7039, allocations: 24.03 kB / 0.7001 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.7079, allocations: 4.629 MB / 0.7046 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.7089, allocations: 0.5206 MB / 0.7051 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/0.7093, allocations: 62.2 kB / 0.7052 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.7102, allocations: 134 kB / 0.7053 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.7104, allocations: 178.8 kB / 0.7055 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.7105, allocations: 99.42 kB / 0.7056 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003728/0.7143, allocations: 3.488 MB / 0.709 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7143, allocations: 0 / 0.709 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005563/0.7198, allocations: 1.97 MB / 0.7109 GB, free: 104.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * 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.00374/0.7236, allocations: 5.318 MB / 0.7161 GB, free: 99.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007083/0.7306, allocations: 7.003 MB / 0.7229 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.7307, allocations: 4 kB / 0.7229 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.7321, allocations: 1.865 MB / 0.7248 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.7345, allocations: 0.6249 MB / 0.7254 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06675/0.8012, allocations: 68.07 MB / 0.7918 GB, free: 17.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005345/0.8066, allocations: 4.942 MB / 0.7967 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004507/0.8111, allocations: 3.543 MB / 0.8001 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003256/0.8143, allocations: 3.32 MB / 0.8034 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of SimCode: time 1.272e-06/0.8143, allocations: 3.938 kB / 0.8034 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.278/1.092, allocations: 89.83 MB / 0.8911 GB, free: 155.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.6, allocations: 9.531 kB / 0.8911 GB, free: 155.7 MB / 0.5573 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.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: 15.906283094547689]