Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.001358/0.001358, allocations: 112 kB / 20.48 MB, free: 1.27 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.001474/0.001474, allocations: 209.7 kB / 23.77 MB, free: 4.445 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.2269/0.2269, allocations: 46.96 MB / 360.9 MB, free: 3.895 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.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 83.86 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2989, allocations: 66.08 MB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01324/0.3121, allocations: 10.72 MB / 0.5712 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008285/0.3204, allocations: 3.754 MB / 0.5749 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.3222, allocations: 63.81 kB / 0.575 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.3249, allocations: 1.304 MB / 0.5762 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003991/0.3289, allocations: 1.775 MB / 0.578 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3302, allocations: 499 kB / 0.5784 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00485/0.335, allocations: 3.602 MB / 0.582 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.3374, allocations: 1.822 MB / 0.5837 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.3391, allocations: 1.218 MB / 0.5849 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.3416, allocations: 1.81 MB / 0.5867 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004803/0.3421, allocations: 236 kB / 0.5869 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.3438, allocations: 0.8502 MB / 0.5878 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.3454, allocations: 1.612 MB / 0.5893 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.3473, allocations: 1.335 MB / 0.5906 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00723/0.3545, allocations: 6.235 MB / 0.5967 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3545, allocations: 4 kB / 0.5967 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3545, allocations: 0 / 0.5967 GB, free: 15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001229/0.3546, allocations: 0 / 0.5967 GB, free: 15 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.008371/0.363, allocations: 4.178 MB / 0.6008 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.3631, allocations: 12.03 kB / 0.6008 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001132/0.3642, allocations: 0.7044 MB / 0.6015 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.3748, allocations: 3.168 MB / 0.6046 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004989/0.3798, allocations: 2.05 MB / 0.6066 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.38, allocations: 193 kB / 0.6068 GB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007132/0.3807, allocations: 251.7 kB / 0.607 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.3984, allocations: 10.49 MB / 0.6173 GB, free: 9.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-05/0.3985, allocations: 27.81 kB / 0.6173 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004359/0.3989, allocations: 115.8 kB / 0.6174 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004422/0.4033, allocations: 2.553 MB / 0.6199 GB, free: 6.715 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.4223, allocations: 9.903 MB / 0.6296 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05305/0.4753, allocations: 32.83 MB / 0.6616 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00966/0.485, allocations: 4.154 MB / 0.6657 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/0.4882, allocations: 2.111 MB / 0.6677 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.4895, allocations: 0.5478 MB / 0.6683 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.4895, allocations: 56.55 kB / 0.6683 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.49e-06/0.4895, allocations: 1.641 kB / 0.6683 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.0326/0.5221, allocations: 14.27 MB / 0.6823 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.5222, allocations: 77.34 kB / 0.6823 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/0.5257, allocations: 2.81 MB / 0.6851 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002326/0.526, allocations: 57.69 kB / 0.6851 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.5279, allocations: 2.745 MB / 0.6878 GB, free: 208 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009102/0.5288, allocations: 0.8876 MB / 0.6887 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.5302, allocations: 1.045 MB / 0.6897 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5303, allocations: 301.1 kB / 0.69 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.5334, allocations: 2.204 MB / 0.6922 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/0.5388, allocations: 5.055 MB / 0.6971 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009955/0.5488, allocations: 7.957 MB / 0.7049 GB, free: 11.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-05/0.5489, allocations: 28 kB / 0.7049 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01438/0.5632, allocations: 7.869 MB / 0.7126 GB, free: 4.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.5633, allocations: 49.88 kB / 0.7126 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001139/0.5634, allocations: 104 kB / 0.7127 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/0.5657, allocations: 0.7892 MB / 0.7135 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/0.5695, allocations: 1.181 MB / 0.7146 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005905/0.5754, allocations: 4.378 MB / 0.7189 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/0.5786, allocations: 291.8 kB / 0.7192 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006882/0.5792, allocations: 304 kB / 0.7195 GB, free: 12.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 624 * Array equations: 6 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003332/0.5826, allocations: 2.02 MB / 0.7215 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/0.5831, allocations: 270.2 kB / 0.7217 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008092/0.5912, allocations: 4.721 MB / 0.7263 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.645e-05/0.5912, allocations: 47.98 kB / 0.7264 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.5912, allocations: 7.938 kB / 0.7264 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/0.5913, allocations: 7.969 kB / 0.7264 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2834/0.8746, allocations: 10.19 MB / 0.7363 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.8746, allocations: 7.688 kB / 0.7363 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.876, allocations: 363.6 kB / 0.7367 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.8777, allocations: 0.6545 MB / 0.7373 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.8779, allocations: 44.09 kB / 0.7374 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003534/0.8814, allocations: 3.778 MB / 0.7411 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8814, allocations: 11.59 kB / 0.7411 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007774/0.8892, allocations: 7.141 MB / 0.748 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/0.8899, allocations: 243.7 kB / 0.7483 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.8902, allocations: 40.31 kB / 0.7483 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.8913, allocations: 142.8 kB / 0.7485 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/0.8916, allocations: 140 kB / 0.7486 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.8917, allocations: 67.44 kB / 0.7487 GB, free: 148 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001862/0.8936, allocations: 1.623 MB / 0.7502 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8936, allocations: 4 kB / 0.7502 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003529/0.8971, allocations: 0.9059 MB / 0.7511 GB, free: 145.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008154/0.9053, allocations: 7.789 MB / 0.7587 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005841/0.9111, allocations: 5.143 MB / 0.7638 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.9111, allocations: 2 kB / 0.7638 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.913, allocations: 1.876 MB / 0.7656 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.9147, allocations: 363.8 kB / 0.7659 GB, free: 132 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04249/0.9572, allocations: 39.78 MB / 0.8048 GB, free: 88.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/0.9599, allocations: 2.614 MB / 0.8073 GB, free: 85.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003248/0.9631, allocations: 1.965 MB / 0.8093 GB, free: 83.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/0.9649, allocations: 1.71 MB / 0.8109 GB, free: 81.85 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.9649, allocations: 0 / 0.8109 GB, free: 81.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08515/1.05, allocations: 54.73 MB / 0.8644 GB, free: 27.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.92, allocations: 10.95 kB / 0.8644 GB, free: 27.61 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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: 18.99625727441162]