Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001901/0.001901, allocations: 111.1 kB / 20.44 MB, free: 1.32 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.002175/0.002175, allocations: 203 kB / 23.72 MB, free: 4.496 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.227/0.227, allocations: 44.93 MB / 358.8 MB, free: 6.039 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.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",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.002438/0.002438, allocations: 67.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3416, allocations: 65.47 MB / 0.557 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01283/0.3545, allocations: 9.033 MB / 0.5658 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008033/0.3625, allocations: 3.606 MB / 0.5693 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.3639, allocations: 67.69 kB / 0.5694 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00395/0.3679, allocations: 1.892 MB / 0.5712 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004297/0.3722, allocations: 1.677 MB / 0.5729 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.3737, allocations: 0.6198 MB / 0.5735 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00501/0.3787, allocations: 3.369 MB / 0.5768 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.3815, allocations: 2.11 MB / 0.5788 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.3837, allocations: 1.261 MB / 0.58 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.3864, allocations: 1.728 MB / 0.5817 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005573/0.3869, allocations: 252 kB / 0.582 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.3889, allocations: 0.9167 MB / 0.5829 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001749/0.3906, allocations: 1.597 MB / 0.5844 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.3923, allocations: 1.335 MB / 0.5857 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007758/0.4001, allocations: 5.832 MB / 0.5914 GB, free: 4.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4001, allocations: 0 / 0.5914 GB, free: 4.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4001, allocations: 4 kB / 0.5914 GB, free: 4.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001494/0.4002, allocations: 0 / 0.5914 GB, free: 4.043 MB / 430.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.008156/0.4084, allocations: 4.044 MB / 0.5954 GB, free: 15.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4084, allocations: 8.031 kB / 0.5954 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008104/0.4092, allocations: 0.6081 MB / 0.596 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006391/0.4156, allocations: 1.812 MB / 0.5978 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.4203, allocations: 2.114 MB / 0.5998 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.4204, allocations: 196.9 kB / 0.6 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/0.421, allocations: 251.8 kB / 0.6002 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.4355, allocations: 8.502 MB / 0.6085 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-05/0.4356, allocations: 39.67 kB / 0.6086 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/0.4359, allocations: 123.9 kB / 0.6087 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003004/0.4389, allocations: 1.699 MB / 0.6104 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.4531, allocations: 7.086 MB / 0.6173 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04541/0.4985, allocations: 32.8 MB / 0.6493 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008896/0.5074, allocations: 2.745 MB / 0.652 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.5098, allocations: 1.352 MB / 0.6533 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007852/0.5176, allocations: 3.368 MB / 0.6566 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.5177, allocations: 51.16 kB / 0.6567 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 5.36e-06/0.5177, allocations: 0 / 0.6567 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03163/0.5493, allocations: 11.57 MB / 0.668 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.5495, allocations: 166.9 kB / 0.6681 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006296/0.5557, allocations: 3.931 MB / 0.672 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002531/0.556, allocations: 41.7 kB / 0.672 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002651/0.5587, allocations: 2.866 MB / 0.6748 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007147/0.5594, allocations: 0.5467 MB / 0.6753 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001554/0.5609, allocations: 1.084 MB / 0.6764 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5611, allocations: 309.1 kB / 0.6767 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.5639, allocations: 1.697 MB / 0.6783 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006527/0.5705, allocations: 5.156 MB / 0.6834 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/0.5812, allocations: 7.409 MB / 0.6906 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/0.5814, allocations: 32 kB / 0.6906 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01396/0.5953, allocations: 6.709 MB / 0.6972 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.5954, allocations: 66.75 kB / 0.6973 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001769/0.5956, allocations: 120 kB / 0.6974 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00072/0.5963, allocations: 321.2 kB / 0.6977 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/0.6006, allocations: 1.244 MB / 0.6989 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.6038, allocations: 2.374 MB / 0.7012 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/0.6075, allocations: 295.7 kB / 0.7015 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007777/0.6083, allocations: 336 kB / 0.7018 GB, free: 13.37 MB / 0.545 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.003346/0.6116, allocations: 1.787 MB / 0.7036 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006443/0.6123, allocations: 325.8 kB / 0.7039 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005167/0.6174, allocations: 2.367 MB / 0.7062 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.6175, allocations: 12 kB / 0.7062 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.6175, allocations: 4 kB / 0.7062 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.6175, allocations: 11.97 kB / 0.7062 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.6298, allocations: 5.64 MB / 0.7117 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.6298, allocations: 7.938 kB / 0.7117 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008552/0.6306, allocations: 180.2 kB / 0.7119 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002275/0.6329, allocations: 0.7069 MB / 0.7126 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.972e-05/0.633, allocations: 27.97 kB / 0.7126 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00671/0.6397, allocations: 4.664 MB / 0.7172 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6397, allocations: 0 / 0.7172 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007699/0.6474, allocations: 4.358 MB / 0.7214 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009689/0.6484, allocations: 305.8 kB / 0.7217 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/0.6487, allocations: 16 kB / 0.7217 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.6497, allocations: 75.84 kB / 0.7218 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.6499, allocations: 72.45 kB / 0.7219 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.65, allocations: 36 kB / 0.7219 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003949/0.654, allocations: 2.323 MB / 0.7242 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.654, allocations: 0 / 0.7242 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004252/0.6582, allocations: 0.7968 MB / 0.725 GB, free: 5.449 MB / 0.5606 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.008126/0.6664, allocations: 4.976 MB / 0.7298 GB, free: 436 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.258/0.9244, allocations: 3.888 MB / 0.7336 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9244, allocations: 0 / 0.7336 GB, free: 162.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.9257, allocations: 1.042 MB / 0.7346 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.9278, allocations: 397.1 kB / 0.735 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/0.9673, allocations: 37.78 MB / 0.7719 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/0.9695, allocations: 2.233 MB / 0.7741 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003239/0.9727, allocations: 1.656 MB / 0.7757 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/0.9745, allocations: 1.526 MB / 0.7772 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.633e-06/0.9746, allocations: 0 / 0.7772 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09966/1.074, allocations: 58.11 MB / 0.8339 GB, free: 60.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/17.01, allocations: 18.5 kB / 0.834 GB, free: 60.84 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 20.445943769067526]