Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00128/0.00128, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001424/0.001424, allocations: 212.3 kB / 24.51 MB, free: 3.918 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.94 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2957, allocations: 65.46 MB / 0.5577 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01743/0.3131, allocations: 14.5 MB / 0.5719 GB, free: 9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008414/0.3215, allocations: 3.797 MB / 0.5756 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.3243, allocations: 107.6 kB / 0.5757 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004969/0.3292, allocations: 2.179 MB / 0.5778 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006542/0.3358, allocations: 2.607 MB / 0.5804 GB, free: 288 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009765/0.3368, allocations: 295.6 kB / 0.5806 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009227/0.346, allocations: 6.557 MB / 0.5871 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003991/0.35, allocations: 3.074 MB / 0.5901 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.3531, allocations: 2.152 MB / 0.5922 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.3573, allocations: 3.102 MB / 0.5952 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000866/0.3581, allocations: 395.9 kB / 0.5956 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.3598, allocations: 0.7218 MB / 0.5963 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002732/0.3625, allocations: 2.823 MB / 0.599 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.3653, allocations: 2.3 MB / 0.6013 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.3771, allocations: 10.71 MB / 0.6117 GB, free: 12 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3771, allocations: 7.938 kB / 0.6117 GB, free: 4 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3771, allocations: 0 / 0.6117 GB, free: 4 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002034/0.3773, allocations: 0 / 0.6117 GB, free: 4 kB / 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.012/0.3893, allocations: 7.105 MB / 0.6187 GB, free: 8.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3893, allocations: 8.031 kB / 0.6187 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000204/0.3895, allocations: 164.4 kB / 0.6188 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001903/0.3914, allocations: 1.272 MB / 0.6201 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01951/0.4109, allocations: 5.907 MB / 0.6259 GB, free: 1.445 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007198/0.4181, allocations: 3.256 MB / 0.629 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.4184, allocations: 331.7 kB / 0.6293 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/0.4197, allocations: 419.7 kB / 0.6297 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03047/0.4501, allocations: 18.88 MB / 0.6482 GB, free: 9.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-05/0.4502, allocations: 35.69 kB / 0.6482 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006715/0.4509, allocations: 207.7 kB / 0.6484 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007629/0.4585, allocations: 4.746 MB / 0.6531 GB, free: 4.773 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0334/0.4919, allocations: 17.54 MB / 0.6702 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09397/0.5859, allocations: 58.27 MB / 0.7271 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01496/0.6009, allocations: 6.343 MB / 0.7333 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2296/0.8305, allocations: 2.389 MB / 0.7356 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01702/0.8475, allocations: 9.42 MB / 0.7448 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.8475, allocations: 58.97 kB / 0.7449 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 6.943e-06/0.8475, allocations: 0 / 0.7449 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.0155/0.863, allocations: 7.537 MB / 0.7522 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.8631, allocations: 107 kB / 0.7523 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006911/0.87, allocations: 5.678 MB / 0.7579 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00047/0.8705, allocations: 67.02 kB / 0.7579 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002713/0.8732, allocations: 5.294 MB / 0.7631 GB, free: 142.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/0.8746, allocations: 1.246 MB / 0.7643 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/0.8766, allocations: 1.924 MB / 0.7662 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.8766, allocations: 301.1 kB / 0.7665 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003402/0.88, allocations: 3.212 MB / 0.7696 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005052/0.8851, allocations: 8.647 MB / 0.7781 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009326/0.8944, allocations: 12.91 MB / 0.7907 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.8945, allocations: 60 kB / 0.7907 GB, free: 109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01547/0.91, allocations: 11.68 MB / 0.8021 GB, free: 97.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.9101, allocations: 88 kB / 0.8022 GB, free: 97.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002223/0.9103, allocations: 192 kB / 0.8024 GB, free: 97.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.9105, allocations: 252 kB / 0.8026 GB, free: 96.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006032/0.9166, allocations: 2.075 MB / 0.8047 GB, free: 94.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003077/0.9169, allocations: 374.5 kB / 0.805 GB, free: 94.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006258/0.9231, allocations: 1.365 MB / 0.8064 GB, free: 93.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001321/0.9244, allocations: 0.5542 MB / 0.8069 GB, free: 92.47 MB / 0.5606 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.005381/0.9298, allocations: 3.7 MB / 0.8105 GB, free: 88.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008729/0.9307, allocations: 0.5004 MB / 0.811 GB, free: 88.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.9321, allocations: 0.6488 MB / 0.8116 GB, free: 87.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.216e-05/0.9322, allocations: 63.52 kB / 0.8117 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/0.9322, allocations: 0 / 0.8117 GB, free: 87.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.9322, allocations: 11.95 kB / 0.8117 GB, free: 87.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/0.9516, allocations: 12.23 MB / 0.8237 GB, free: 75.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.9517, allocations: 16 kB / 0.8237 GB, free: 75.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.9533, allocations: 419.3 kB / 0.8241 GB, free: 74.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.253e-05/0.9533, allocations: 28.06 kB / 0.8241 GB, free: 74.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/0.9534, allocations: 71.44 kB / 0.8242 GB, free: 74.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.077e-05/0.9535, allocations: 27.92 kB / 0.8242 GB, free: 74.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/0.9535, allocations: 23.88 kB / 0.8242 GB, free: 74.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.9581, allocations: 4.663 MB / 0.8288 GB, free: 69.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.9593, allocations: 0.5114 MB / 0.8293 GB, free: 69.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006213/0.9599, allocations: 59.25 kB / 0.8293 GB, free: 69.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.9614, allocations: 131.8 kB / 0.8295 GB, free: 68.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.9617, allocations: 188.2 kB / 0.8296 GB, free: 68.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.9619, allocations: 99.98 kB / 0.8297 GB, free: 68.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004009/0.9659, allocations: 3.485 MB / 0.8331 GB, free: 65.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9659, allocations: 4 kB / 0.8331 GB, free: 65.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005848/0.9718, allocations: 1.974 MB / 0.8351 GB, free: 63.19 MB / 0.5606 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.00453/0.9763, allocations: 5.334 MB / 0.8403 GB, free: 57.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008019/0.9843, allocations: 7.013 MB / 0.8471 GB, free: 50.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.9843, allocations: 5 kB / 0.8471 GB, free: 50.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.9862, allocations: 1.869 MB / 0.849 GB, free: 48.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.989, allocations: 0.6217 MB / 0.8496 GB, free: 48.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08731/1.076, allocations: 68.33 MB / 0.9163 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007711/1.084, allocations: 4.932 MB / 0.9211 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007788/1.092, allocations: 3.543 MB / 0.9246 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005201/1.097, allocations: 3.327 MB / 0.9278 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of SimCode: time 1.162e-06/1.097, allocations: 0 / 0.9278 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.399/1.496, allocations: 90.11 MB / 1.016 GB, free: 210 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.56/28.06, allocations: 10.16 kB / 1.016 GB, free: 210 MB / 0.6544 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 32.23326952196658]