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.001454/0.001454, allocations: 117 kB / 18.49 MB, free: 4.59 MB / 14.72 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.001486/0.001486, allocations: 212.7 kB / 21.45 MB, free: 1.637 MB / 14.72 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 1.449/1.449, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2217/0.2217, allocations: 46.91 MB / 357.7 MB, free: 10.2 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 75.89 kB / 0.4916 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.115, allocations: 66.05 MB / 0.5561 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.0183/0.1333, allocations: 16.99 MB / 0.5727 GB, free: 4.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008085/0.1414, allocations: 3.964 MB / 0.5766 GB, free: 496 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.1431, allocations: 115.6 kB / 0.5767 GB, free: 380 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003951/0.147, allocations: 2.23 MB / 0.5789 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.1521, allocations: 2.588 MB / 0.5814 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007103/0.1528, allocations: 291.5 kB / 0.5817 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008201/0.161, allocations: 6.544 MB / 0.5881 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.1646, allocations: 2.963 MB / 0.591 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2256/0.3903, allocations: 2.145 MB / 0.5931 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00427/0.3945, allocations: 3.11 MB / 0.5961 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.3959, allocations: 392.5 kB / 0.5965 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.3981, allocations: 0.8294 MB / 0.5973 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002869/0.4009, allocations: 2.813 MB / 0.6 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003657/0.4046, allocations: 3.316 MB / 0.6033 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.417, allocations: 10.65 MB / 0.6137 GB, free: 3.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.417, allocations: 0 / 0.6137 GB, free: 3.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.417, allocations: 2.719 kB / 0.6137 GB, free: 3.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003275/0.4173, allocations: 1.188 kB / 0.6137 GB, free: 3.477 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.01409/0.4314, allocations: 7.223 MB / 0.6207 GB, free: 15.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4315, allocations: 9.938 kB / 0.6208 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002239/0.4317, allocations: 163.3 kB / 0.6209 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00241/0.4341, allocations: 1.275 MB / 0.6222 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02057/0.4547, allocations: 5.906 MB / 0.6279 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008151/0.4628, allocations: 3.3 MB / 0.6311 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.4631, allocations: 322.4 kB / 0.6314 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002069/0.4652, allocations: 416.5 kB / 0.6318 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03209/0.4973, allocations: 18.9 MB / 0.6503 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.543e-05/0.4973, allocations: 36.44 kB / 0.6503 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006756/0.498, allocations: 202 kB / 0.6505 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008021/0.506, allocations: 4.75 MB / 0.6552 GB, free: 6.586 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03508/0.5411, allocations: 17.53 MB / 0.6723 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09337/0.6345, allocations: 60.98 MB / 0.7318 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/0.6502, allocations: 8.169 MB / 0.7398 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003779/0.6539, allocations: 2.388 MB / 0.7421 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02184/0.6758, allocations: 11.89 MB / 0.7538 GB, free: 364 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.513e-05/0.6758, allocations: 52.56 kB / 0.7538 GB, free: 304 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 1.084e-05/0.6758, allocations: 0 / 0.7538 GB, free: 304 kB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01927/0.6951, allocations: 7.544 MB / 0.7612 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.6952, allocations: 103.1 kB / 0.7613 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/0.7053, allocations: 5.685 MB / 0.7668 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003698/0.7057, allocations: 70.23 kB / 0.7669 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004206/0.7099, allocations: 5.28 MB / 0.7721 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/0.7117, allocations: 1.247 MB / 0.7733 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003059/0.7147, allocations: 1.928 MB / 0.7752 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7149, allocations: 307.5 kB / 0.7754 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005172/0.72, allocations: 3.208 MB / 0.7786 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00984/0.7299, allocations: 8.644 MB / 0.787 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/0.7466, allocations: 12.93 MB / 0.7996 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001869/0.7467, allocations: 52 kB / 0.7997 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02339/0.7701, allocations: 11.67 MB / 0.8111 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.7703, allocations: 88 kB / 0.8112 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/0.7705, allocations: 192 kB / 0.8114 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002579/0.7707, allocations: 252 kB / 0.8116 GB, free: 276 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006819/0.7775, allocations: 2.07 MB / 0.8136 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003338/0.7779, allocations: 380.1 kB / 0.814 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006449/0.7843, allocations: 1.363 MB / 0.8153 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.7855, allocations: 0.556 MB / 0.8158 GB, free: 11.9 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.0067/0.7922, allocations: 3.697 MB / 0.8195 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008361/0.793, allocations: 0.5005 MB / 0.8199 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.7946, allocations: 0.6449 MB / 0.8206 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-05/0.7947, allocations: 58.88 kB / 0.8206 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.7947, allocations: 8 kB / 0.8206 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.7948, allocations: 7.969 kB / 0.8206 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0227/0.8175, allocations: 12.64 MB / 0.833 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/0.8175, allocations: 16 kB / 0.833 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001922/0.8194, allocations: 427.2 kB / 0.8334 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.672e-05/0.8194, allocations: 24 kB / 0.8334 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.8196, allocations: 60.72 kB / 0.8335 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-05/0.8196, allocations: 27.92 kB / 0.8335 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.902e-05/0.8197, allocations: 27.88 kB / 0.8336 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006541/0.8262, allocations: 4.656 MB / 0.8381 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.8273, allocations: 0.5868 MB / 0.8387 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006078/0.8279, allocations: 63.75 kB / 0.8387 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.8296, allocations: 124 kB / 0.8389 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/0.8299, allocations: 176.8 kB / 0.839 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/0.8301, allocations: 103.6 kB / 0.8391 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006005/0.8362, allocations: 3.486 MB / 0.8425 GB, free: 132 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8362, allocations: 4 kB / 0.8425 GB, free: 128 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.2336/1.07, allocations: 1.974 MB / 0.8445 GB, free: 228.1 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.00612/1.076, allocations: 5.329 MB / 0.8497 GB, free: 226.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.086, allocations: 7.009 MB / 0.8565 GB, free: 225.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.086, allocations: 1.438 kB / 0.8565 GB, free: 225.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.088, allocations: 1.871 MB / 0.8583 GB, free: 225.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/1.091, allocations: 0.6172 MB / 0.8589 GB, free: 224.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07126/1.163, allocations: 68.35 MB / 0.9257 GB, free: 164.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005343/1.168, allocations: 5.417 MB / 0.931 GB, free: 159.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006245/1.174, allocations: 3.543 MB / 0.9344 GB, free: 155.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003906/1.178, allocations: 3.323 MB / 0.9377 GB, free: 152.4 MB / 0.6544 GB Notification: Performance of SimCode: time 8.32e-07/1.178, allocations: 0 / 0.9377 GB, free: 152.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/1.294, allocations: 91.8 MB / 1.027 GB, free: 60.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.13/24.43, allocations: 15.98 kB / 1.027 GB, free: 60.9 MB / 0.6544 GB " [Timeout remaining time 635] (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/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_trunk_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 28.61182698502671]