Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.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.001666/0.001666, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.002146/0.002146, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.638/1.638, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2502/0.2502, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 59.91 kB / 0.4916 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.188, allocations: 66 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.02458/0.2126, allocations: 13.51 MB / 0.5693 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.2268, allocations: 4.229 MB / 0.5734 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004163/0.231, allocations: 79.69 kB / 0.5735 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006783/0.2378, allocations: 1.985 MB / 0.5754 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008245/0.246, allocations: 1.942 MB / 0.5773 GB, free: 8 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.2487, allocations: 0.5459 MB / 0.5778 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009284/0.258, allocations: 4.052 MB / 0.5818 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006248/0.2643, allocations: 2.476 MB / 0.5842 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004391/0.2687, allocations: 1.472 MB / 0.5857 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005635/0.2743, allocations: 2.204 MB / 0.5878 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001819/0.2761, allocations: 304 kB / 0.5881 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004458/0.2806, allocations: 1.041 MB / 0.5891 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004296/0.2849, allocations: 1.889 MB / 0.591 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3647/0.6496, allocations: 2.243 MB / 0.5931 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01199/0.6616, allocations: 7.314 MB / 0.6003 GB, free: 9.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.6616, allocations: 0 / 0.6003 GB, free: 9.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6616, allocations: 0.75 kB / 0.6003 GB, free: 9.781 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004156/0.662, allocations: 0 / 0.6003 GB, free: 9.781 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.0291/0.6911, allocations: 5.02 MB / 0.6052 GB, free: 7.691 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.516e-05/0.6912, allocations: 9.406 kB / 0.6052 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004913/0.6917, allocations: 111.3 kB / 0.6053 GB, free: 7.684 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005728/0.6974, allocations: 0.8231 MB / 0.6061 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01563/0.713, allocations: 3.172 MB / 0.6092 GB, free: 7.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009491/0.7225, allocations: 2.409 MB / 0.6116 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000611/0.7231, allocations: 237.8 kB / 0.6118 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003486/0.7266, allocations: 314.5 kB / 0.6121 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03761/0.7642, allocations: 12.09 MB / 0.6239 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003246/0.7646, allocations: 35.08 kB / 0.6239 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002479/0.767, allocations: 143.9 kB / 0.6241 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006355/0.7734, allocations: 2.831 MB / 0.6268 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03053/0.8039, allocations: 11.36 MB / 0.6379 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09024/0.8942, allocations: 41.11 MB / 0.6781 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/0.9088, allocations: 5.828 MB / 0.6838 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005397/0.9142, allocations: 2.748 MB / 0.6864 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00237/0.9166, allocations: 1.897 MB / 0.6883 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.164e-05/0.9167, allocations: 52.56 kB / 0.6883 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 5.901e-06/0.9167, allocations: 0 / 0.6883 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05762/0.9743, allocations: 20.2 MB / 0.7081 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/0.9744, allocations: 77.41 kB / 0.7081 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006069/0.9804, allocations: 3.04 MB / 0.7111 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008609/0.9813, allocations: 61.7 kB / 0.7112 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003332/0.9846, allocations: 3.105 MB / 0.7142 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002641/0.9873, allocations: 1.071 MB / 0.7152 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006449/0.9937, allocations: 1.2 MB / 0.7164 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.9939, allocations: 304.6 kB / 0.7167 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007462/1.001, allocations: 2.846 MB / 0.7195 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/1.013, allocations: 6.022 MB / 0.7254 GB, free: 14.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01565/1.028, allocations: 9.654 MB / 0.7348 GB, free: 3.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/1.028, allocations: 35.94 kB / 0.7348 GB, free: 3.645 MB / 0.545 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02312/1.052, allocations: 10.02 MB / 0.7446 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/1.052, allocations: 55.94 kB / 0.7447 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/1.052, allocations: 108 kB / 0.7448 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004411/1.056, allocations: 1.363 MB / 0.7461 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/1.062, allocations: 1.372 MB / 0.7474 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.075, allocations: 7.804 MB / 0.7551 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005591/1.081, allocations: 375 kB / 0.7554 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/1.082, allocations: 336 kB / 0.7557 GB, free: 14.43 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (718): * Single equations (assignments): 711 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006567/1.089, allocations: 2.294 MB / 0.758 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/1.09, allocations: 321.9 kB / 0.7583 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/1.107, allocations: 6.616 MB / 0.7647 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.865e-05/1.107, allocations: 50.48 kB / 0.7648 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/1.107, allocations: 8 kB / 0.7648 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.404e-05/1.107, allocations: 11.91 kB / 0.7648 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03543/1.142, allocations: 13.88 MB / 0.7784 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.112e-05/1.142, allocations: 4 kB / 0.7784 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/1.145, allocations: 459.3 kB / 0.7788 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003967/1.149, allocations: 1.208 MB / 0.78 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000815/1.15, allocations: 55.98 kB / 0.78 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.16, allocations: 7.018 MB / 0.7869 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/1.16, allocations: 11.94 kB / 0.7869 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02074/1.181, allocations: 9.875 MB / 0.7966 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.182, allocations: 371 kB / 0.7969 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001487/1.184, allocations: 48 kB / 0.797 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/1.187, allocations: 191.7 kB / 0.7971 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009108/1.187, allocations: 165.6 kB / 0.7973 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004704/1.188, allocations: 74.58 kB / 0.7974 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004188/1.192, allocations: 1.882 MB / 0.7992 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.192, allocations: 0 / 0.7992 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00659/1.199, allocations: 1.099 MB / 0.8003 GB, free: 320 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01898/1.218, allocations: 10.54 MB / 0.8106 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01379/1.231, allocations: 6.669 MB / 0.8171 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/1.231, allocations: 8.125 kB / 0.8171 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006424/1.238, allocations: 2.649 MB / 0.8197 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004731/1.243, allocations: 428.5 kB / 0.8201 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4383/1.681, allocations: 48.96 MB / 0.8679 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005558/1.687, allocations: 3.576 MB / 0.8714 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005298/1.692, allocations: 2.2 MB / 0.8735 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003886/1.696, allocations: 2.068 MB / 0.8756 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.633e-06/1.696, allocations: 3.75 kB / 0.8756 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/1.806, allocations: 70.6 MB / 0.9445 GB, free: 130.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.97/25.78, allocations: 11.94 kB / 0.9445 GB, free: 130.7 MB / 0.6387 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.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.045419297995977]