Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.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.001602/0.001602, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001853/0.001853, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.227/0.227, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 75.88 kB / 0.4909 GB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1161, allocations: 65.99 MB / 0.5554 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01973/0.1358, allocations: 17 MB / 0.572 GB, free: 4.805 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008555/0.1444, allocations: 3.96 MB / 0.5758 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.1466, allocations: 119.5 kB / 0.5759 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004939/0.1516, allocations: 2.222 MB / 0.5781 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006636/0.1582, allocations: 2.584 MB / 0.5806 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1593, allocations: 303.4 kB / 0.5809 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009801/0.1691, allocations: 6.539 MB / 0.5873 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00491/0.174, allocations: 2.963 MB / 0.5902 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2475/0.4215, allocations: 2.146 MB / 0.5923 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004764/0.4263, allocations: 3.107 MB / 0.5953 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001605/0.4279, allocations: 392 kB / 0.5957 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.4305, allocations: 0.8331 MB / 0.5965 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004011/0.4345, allocations: 2.812 MB / 0.5993 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0067/0.4412, allocations: 3.308 MB / 0.6025 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.4555, allocations: 10.65 MB / 0.6129 GB, free: 3.465 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4555, allocations: 0 / 0.6129 GB, free: 3.465 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4555, allocations: 3 kB / 0.6129 GB, free: 3.465 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003894/0.4559, allocations: 0 / 0.6129 GB, free: 3.465 MB / 446.1 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.01576/0.4717, allocations: 7.234 MB / 0.62 GB, free: 15.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4717, allocations: 10.16 kB / 0.62 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003327/0.475, allocations: 1.28 MB / 0.6212 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02133/0.4964, allocations: 5.904 MB / 0.627 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007894/0.5043, allocations: 3.295 MB / 0.6302 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.5045, allocations: 324.1 kB / 0.6305 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.5057, allocations: 418.8 kB / 0.6309 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/0.5385, allocations: 18.89 MB / 0.6494 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.401e-05/0.5386, allocations: 40.84 kB / 0.6494 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000829/0.5395, allocations: 202.4 kB / 0.6496 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008358/0.5478, allocations: 4.748 MB / 0.6542 GB, free: 7.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03669/0.5845, allocations: 17.53 MB / 0.6714 GB, free: 5.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09652/0.681, allocations: 61 MB / 0.7309 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01654/0.6976, allocations: 8.159 MB / 0.7389 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004195/0.7018, allocations: 2.397 MB / 0.7412 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02389/0.7257, allocations: 11.89 MB / 0.7528 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/0.7257, allocations: 56.56 kB / 0.7529 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 8.946e-06/0.7257, allocations: 4 kB / 0.7529 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01897/0.7447, allocations: 7.526 MB / 0.7603 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.7448, allocations: 107.1 kB / 0.7604 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009974/0.7548, allocations: 5.681 MB / 0.7659 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005017/0.7553, allocations: 68.12 kB / 0.766 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004632/0.7599, allocations: 5.28 MB / 0.7711 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/0.7617, allocations: 1.251 MB / 0.7723 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003108/0.7649, allocations: 1.922 MB / 0.7742 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.765, allocations: 305.1 kB / 0.7745 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005309/0.7703, allocations: 3.211 MB / 0.7777 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/0.7808, allocations: 8.647 MB / 0.7861 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/0.7977, allocations: 12.93 MB / 0.7987 GB, free: 13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001823/0.7978, allocations: 52 kB / 0.7988 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02448/0.8223, allocations: 11.67 MB / 0.8102 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.8225, allocations: 84 kB / 0.8102 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003399/0.8229, allocations: 192 kB / 0.8104 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/0.8232, allocations: 252 kB / 0.8107 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007487/0.8307, allocations: 2.074 MB / 0.8127 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003773/0.8311, allocations: 370.6 kB / 0.813 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007276/0.8383, allocations: 1.371 MB / 0.8144 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001671/0.84, allocations: 0.5582 MB / 0.8149 GB, free: 12.39 MB / 0.6387 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.008683/0.8487, allocations: 3.703 MB / 0.8185 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/0.85, allocations: 0.4966 MB / 0.819 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.8523, allocations: 0.6488 MB / 0.8197 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/0.8524, allocations: 59.89 kB / 0.8197 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.8524, allocations: 0 / 0.8197 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-05/0.8524, allocations: 15.95 kB / 0.8197 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02991/0.8823, allocations: 12.63 MB / 0.8321 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.8824, allocations: 12.94 kB / 0.8321 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.8843, allocations: 419.3 kB / 0.8325 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.668e-05/0.8843, allocations: 27.94 kB / 0.8325 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/0.8845, allocations: 63.98 kB / 0.8326 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.993e-05/0.8845, allocations: 31.88 kB / 0.8326 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.557e-05/0.8845, allocations: 19.94 kB / 0.8326 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006682/0.8912, allocations: 4.663 MB / 0.8372 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.8925, allocations: 0.5867 MB / 0.8378 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005563/0.893, allocations: 55.98 kB / 0.8378 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.8946, allocations: 131.1 kB / 0.8379 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004174/0.895, allocations: 176.8 kB / 0.8381 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/0.8952, allocations: 99.75 kB / 0.8382 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006435/0.9017, allocations: 3.493 MB / 0.8416 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9017, allocations: 0 / 0.8416 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.2429/1.145, allocations: 1.962 MB / 0.8435 GB, free: 226.3 MB / 0.6544 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.006721/1.151, allocations: 5.338 MB / 0.8487 GB, free: 224.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.163, allocations: 7.008 MB / 0.8556 GB, free: 223.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/1.163, allocations: 2.531 kB / 0.8556 GB, free: 223.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/1.165, allocations: 1.871 MB / 0.8574 GB, free: 223.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003326/1.168, allocations: 0.6208 MB / 0.858 GB, free: 223 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07544/1.244, allocations: 68.35 MB / 0.9248 GB, free: 163.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005296/1.249, allocations: 5.423 MB / 0.9301 GB, free: 159.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005941/1.255, allocations: 3.543 MB / 0.9335 GB, free: 156.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003491/1.258, allocations: 3.319 MB / 0.9368 GB, free: 152.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.143e-06/1.259, allocations: 0 / 0.9368 GB, free: 152.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/1.381, allocations: 91.79 MB / 1.026 GB, free: 61.38 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.89/25.27, allocations: 3.938 kB / 1.026 GB, free: 61.38 MB / 0.6544 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 28.81394093297422]