Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001369/0.001369, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.001648/0.001648, allocations: 215.7 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2375/0.2375, allocations: 44.24 MB / 330.3 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00266/0.00266, allocations: 74.86 kB / 467.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1338, allocations: 61.05 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01384/0.1477, allocations: 10.36 MB / 0.5263 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009804/0.1575, allocations: 3.834 MB / 0.53 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.1594, allocations: 71.62 kB / 0.5301 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005134/0.1645, allocations: 1.974 MB / 0.532 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005358/0.1699, allocations: 1.708 MB / 0.5337 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.1719, allocations: 0.6082 MB / 0.5343 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005927/0.1778, allocations: 3.353 MB / 0.5376 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2379/0.4157, allocations: 2.123 MB / 0.5396 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/0.4193, allocations: 1.272 MB / 0.5409 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004972/0.4243, allocations: 1.823 MB / 0.5427 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001814/0.4261, allocations: 254 kB / 0.5429 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004783/0.4309, allocations: 1.063 MB / 0.5439 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003935/0.4348, allocations: 1.62 MB / 0.5455 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005606/0.4404, allocations: 1.837 MB / 0.5473 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.4541, allocations: 5.876 MB / 0.553 GB, free: 8.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.4541, allocations: 1.75 kB / 0.553 GB, free: 8.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4541, allocations: 0 / 0.553 GB, free: 8.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002833/0.4544, allocations: 1.531 kB / 0.553 GB, free: 8.574 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01811/0.4725, allocations: 4.086 MB / 0.557 GB, free: 6.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.4725, allocations: 8.938 kB / 0.557 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002613/0.4751, allocations: 0.6052 MB / 0.5576 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007438/0.4826, allocations: 1.802 MB / 0.5594 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/0.4889, allocations: 2.37 MB / 0.5617 GB, free: 4.809 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.4891, allocations: 194.8 kB / 0.5619 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/0.4908, allocations: 257 kB / 0.5621 GB, free: 4.688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02151/0.5123, allocations: 8.438 MB / 0.5704 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000294/0.5126, allocations: 37.64 kB / 0.5704 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/0.5141, allocations: 129.3 kB / 0.5705 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003615/0.5177, allocations: 1.695 MB / 0.5722 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.5356, allocations: 7.106 MB / 0.5791 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07088/0.6065, allocations: 33.99 MB / 0.6123 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/0.6183, allocations: 2.725 MB / 0.615 GB, free: 9.906 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/0.6217, allocations: 1.368 MB / 0.6163 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.6331, allocations: 3.68 MB / 0.6199 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.286e-05/0.6332, allocations: 54.31 kB / 0.62 GB, free: 4.793 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 5.17e-06/0.6332, allocations: 0 / 0.62 GB, free: 4.793 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.03879/0.672, allocations: 11.54 MB / 0.6312 GB, free: 9.219 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.6721, allocations: 170.2 kB / 0.6314 GB, free: 9.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009603/0.6817, allocations: 3.751 MB / 0.6351 GB, free: 5.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004473/0.6822, allocations: 45.7 kB / 0.6351 GB, free: 5.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003515/0.6857, allocations: 2.872 MB / 0.6379 GB, free: 2.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.6868, allocations: 0.5383 MB / 0.6384 GB, free: 1.836 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004121/0.6909, allocations: 1.087 MB / 0.6395 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.6911, allocations: 305.1 kB / 0.6398 GB, free: 452 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004117/0.6952, allocations: 1.695 MB / 0.6414 GB, free: 14.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008161/0.7034, allocations: 5.113 MB / 0.6464 GB, free: 7.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/0.7149, allocations: 7.397 MB / 0.6537 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001668/0.7151, allocations: 43.94 kB / 0.6537 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01714/0.7322, allocations: 6.709 MB / 0.6603 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.7324, allocations: 57.09 kB / 0.6603 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/0.7327, allocations: 127.9 kB / 0.6604 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009549/0.7336, allocations: 316.7 kB / 0.6607 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005121/0.7388, allocations: 1.236 MB / 0.6619 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/0.7423, allocations: 2.399 MB / 0.6643 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005274/0.7476, allocations: 287.6 kB / 0.6646 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/0.7491, allocations: 332.7 kB / 0.6649 GB, free: 3.625 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005834/0.7549, allocations: 1.794 MB / 0.6666 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.756, allocations: 333.8 kB / 0.6669 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006959/0.763, allocations: 2.358 MB / 0.6693 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.463e-05/0.763, allocations: 16 kB / 0.6693 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/0.763, allocations: 4 kB / 0.6693 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.403e-05/0.7631, allocations: 3.984 kB / 0.6693 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02014/0.7832, allocations: 5.887 MB / 0.675 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/0.7832, allocations: 0 / 0.675 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.7843, allocations: 172.7 kB / 0.6752 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002639/0.7869, allocations: 0.724 MB / 0.6759 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003549/0.7873, allocations: 23.44 kB / 0.6759 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007809/0.7951, allocations: 4.715 MB / 0.6805 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7951, allocations: 1.797 kB / 0.6805 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00971/0.8048, allocations: 4.341 MB / 0.6848 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002385/0.8072, allocations: 477.6 kB / 0.6852 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001141/0.8083, allocations: 27.98 kB / 0.6852 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/0.8106, allocations: 63.91 kB / 0.6853 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000547/0.8112, allocations: 72.47 kB / 0.6854 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/0.8113, allocations: 39.89 kB / 0.6854 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007106/0.8185, allocations: 2.339 MB / 0.6877 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8185, allocations: 4.062 kB / 0.6877 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007846/0.8263, allocations: 0.8163 MB / 0.6885 GB, free: 11.26 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01097/0.8373, allocations: 4.963 MB / 0.6933 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009917/0.8472, allocations: 3.893 MB / 0.6971 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.8472, allocations: 7.938 kB / 0.6972 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.8494, allocations: 1.025 MB / 0.6982 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/0.8535, allocations: 391.5 kB / 0.6985 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09092/0.9445, allocations: 37.87 MB / 0.7355 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008117/0.9526, allocations: 2.791 MB / 0.7382 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006495/0.9591, allocations: 1.659 MB / 0.7399 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004778/0.9639, allocations: 1.53 MB / 0.7414 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of SimCode: time 2.575e-06/0.9639, allocations: 0 / 0.7414 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4396/1.403, allocations: 62.58 MB / 0.8025 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.01/27.42, allocations: 9.078 kB / 0.8025 GB, free: 211.4 MB / 0.6075 GB " [Timeout remaining time 632] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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: 30.90654291003011]