Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.0013/0.0013, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001414/0.001414, allocations: 208.5 kB / 23.73 MB, free: 4.387 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.91 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2941, allocations: 66.03 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01321/0.3073, allocations: 10.73 MB / 0.5711 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007996/0.3153, allocations: 3.746 MB / 0.5747 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.3171, allocations: 71.75 kB / 0.5748 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.32, allocations: 1.304 MB / 0.5761 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004307/0.3243, allocations: 1.775 MB / 0.5778 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.3255, allocations: 499 kB / 0.5783 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004215/0.3297, allocations: 3.61 MB / 0.5818 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.3321, allocations: 1.834 MB / 0.5836 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.3339, allocations: 1.214 MB / 0.5848 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.3364, allocations: 1.888 MB / 0.5866 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006082/0.337, allocations: 236 kB / 0.5869 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.3388, allocations: 0.8502 MB / 0.5877 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00167/0.3405, allocations: 1.608 MB / 0.5893 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.3422, allocations: 1.342 MB / 0.5906 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007546/0.3498, allocations: 6.231 MB / 0.5967 GB, free: 15.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.3498, allocations: 4 kB / 0.5967 GB, free: 15.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3498, allocations: 0 / 0.5967 GB, free: 15.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001712/0.35, allocations: 7.938 kB / 0.5967 GB, free: 15.11 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.0084/0.3584, allocations: 4.174 MB / 0.6007 GB, free: 10.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3584, allocations: 12.03 kB / 0.6008 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001016/0.3594, allocations: 0.7044 MB / 0.6014 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.3701, allocations: 3.114 MB / 0.6045 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005563/0.3756, allocations: 2.054 MB / 0.6065 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.3758, allocations: 193 kB / 0.6067 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008694/0.3767, allocations: 255.7 kB / 0.6069 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.3936, allocations: 10.48 MB / 0.6171 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-05/0.3937, allocations: 23.75 kB / 0.6172 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/0.3941, allocations: 115.8 kB / 0.6173 GB, free: 9.453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004442/0.3985, allocations: 2.549 MB / 0.6198 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.4168, allocations: 9.903 MB / 0.6294 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/0.4686, allocations: 32.67 MB / 0.6613 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009005/0.4776, allocations: 4.032 MB / 0.6653 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003037/0.4806, allocations: 2.11 MB / 0.6673 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.4818, allocations: 0.5556 MB / 0.6679 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.421e-05/0.4819, allocations: 60.5 kB / 0.6679 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.731e-06/0.4819, allocations: 0 / 0.6679 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03172/0.5136, allocations: 13.94 MB / 0.6816 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.5137, allocations: 77.34 kB / 0.6816 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.5174, allocations: 2.81 MB / 0.6844 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003521/0.5178, allocations: 61.69 kB / 0.6844 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001987/0.5198, allocations: 2.737 MB / 0.6871 GB, free: 1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.5208, allocations: 0.8835 MB / 0.688 GB, free: 112 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.5223, allocations: 1.045 MB / 0.689 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5224, allocations: 301.1 kB / 0.6893 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/0.5257, allocations: 2.204 MB / 0.6914 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006102/0.5318, allocations: 5.059 MB / 0.6964 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/0.5426, allocations: 7.961 MB / 0.7041 GB, free: 12.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.5427, allocations: 28 kB / 0.7042 GB, free: 12.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01455/0.5573, allocations: 7.873 MB / 0.7119 GB, free: 4.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.5573, allocations: 48 kB / 0.7119 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/0.5574, allocations: 100 kB / 0.712 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/0.5597, allocations: 0.7934 MB / 0.7128 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003979/0.5637, allocations: 1.181 MB / 0.7139 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/0.5699, allocations: 4.373 MB / 0.7182 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/0.5732, allocations: 291.8 kB / 0.7185 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006337/0.5738, allocations: 308 kB / 0.7188 GB, free: 13.61 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.003202/0.577, allocations: 2.012 MB / 0.7207 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/0.5774, allocations: 270.2 kB / 0.721 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008066/0.5855, allocations: 4.721 MB / 0.7256 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.574e-05/0.5856, allocations: 43.98 kB / 0.7256 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5856, allocations: 7.938 kB / 0.7257 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.5856, allocations: 7.969 kB / 0.7257 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2834/0.8691, allocations: 10.15 MB / 0.7356 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.8691, allocations: 7.562 kB / 0.7356 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.8705, allocations: 360.6 kB / 0.7359 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.8722, allocations: 0.6594 MB / 0.7366 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/0.8723, allocations: 43.45 kB / 0.7366 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003629/0.876, allocations: 3.766 MB / 0.7403 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.876, allocations: 13.56 kB / 0.7403 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007659/0.8836, allocations: 7.151 MB / 0.7473 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.8841, allocations: 245.9 kB / 0.7475 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/0.8844, allocations: 31.88 kB / 0.7475 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.8854, allocations: 147.4 kB / 0.7477 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002697/0.8857, allocations: 136.8 kB / 0.7478 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.8859, allocations: 67.75 kB / 0.7479 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001695/0.8875, allocations: 1.621 MB / 0.7495 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.8875, allocations: 3.719 kB / 0.7495 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003068/0.8906, allocations: 0.9009 MB / 0.7504 GB, free: 146.7 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.007925/0.8985, allocations: 7.795 MB / 0.758 GB, free: 140 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005681/0.9042, allocations: 5.146 MB / 0.763 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.9042, allocations: 2 kB / 0.763 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.9061, allocations: 1.876 MB / 0.7648 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.9078, allocations: 367 kB / 0.7652 GB, free: 133.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04087/0.9486, allocations: 39.77 MB / 0.804 GB, free: 89.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/0.9512, allocations: 2.626 MB / 0.8066 GB, free: 86.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003293/0.9545, allocations: 1.953 MB / 0.8085 GB, free: 84.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001958/0.9564, allocations: 1.718 MB / 0.8102 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of SimCode: time 1.663e-06/0.9564, allocations: 0 / 0.8102 GB, free: 82.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08867/1.045, allocations: 57.03 MB / 0.8658 GB, free: 26.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.68, allocations: 7.984 kB / 0.8659 GB, free: 26.52 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.652640487998724]