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.001693/0.001693, allocations: 112.5 kB / 21.22 MB, free: 0.7461 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.002094/0.002094, allocations: 213.1 kB / 24.53 MB, free: 4.145 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.598/1.598, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2361/0.2361, allocations: 46.93 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 179] 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.002125/0.002125, allocations: 63.89 kB / 0.4969 GB, free: 7.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4214, allocations: 66.03 MB / 0.5614 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01769/0.4391, allocations: 13.54 MB / 0.5746 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.4506, allocations: 4.262 MB / 0.5788 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.454, allocations: 79.69 kB / 0.5789 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005127/0.4591, allocations: 2.001 MB / 0.5808 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006332/0.4654, allocations: 1.942 MB / 0.5827 GB, free: 14.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.4672, allocations: 0.5614 MB / 0.5833 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006718/0.4739, allocations: 4.045 MB / 0.5872 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00405/0.478, allocations: 2.424 MB / 0.5896 GB, free: 7.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.4809, allocations: 1.472 MB / 0.591 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004084/0.485, allocations: 2.2 MB / 0.5932 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009811/0.486, allocations: 308 kB / 0.5935 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.4885, allocations: 1.045 MB / 0.5945 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00239/0.4909, allocations: 1.893 MB / 0.5963 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003833/0.4947, allocations: 2.24 MB / 0.5985 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.5063, allocations: 7.321 MB / 0.6057 GB, free: 6.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.5063, allocations: 3.984 kB / 0.6057 GB, free: 6.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5063, allocations: 0 / 0.6057 GB, free: 6.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003137/0.5066, allocations: 0 / 0.6057 GB, free: 6.941 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.0136/0.5202, allocations: 4.945 MB / 0.6105 GB, free: 1.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.5203, allocations: 8.031 kB / 0.6105 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001803/0.5205, allocations: 114.2 kB / 0.6106 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001944/0.5224, allocations: 0.8196 MB / 0.6114 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.5344, allocations: 3.172 MB / 0.6145 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006908/0.5413, allocations: 2.339 MB / 0.6168 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003723/0.5417, allocations: 241.9 kB / 0.617 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001631/0.5433, allocations: 311.8 kB / 0.6173 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/0.5679, allocations: 12.09 MB / 0.6291 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/0.568, allocations: 39.69 kB / 0.6292 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008003/0.5688, allocations: 143.8 kB / 0.6293 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005675/0.5745, allocations: 2.831 MB / 0.6321 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/0.6018, allocations: 11.36 MB / 0.6432 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07128/0.6731, allocations: 40.96 MB / 0.6832 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/0.6854, allocations: 4.925 MB / 0.688 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004613/0.69, allocations: 2.763 MB / 0.6907 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.6913, allocations: 0.5634 MB / 0.6912 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.6914, allocations: 64.5 kB / 0.6913 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 5.821e-06/0.6914, allocations: 0 / 0.6913 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.05507/0.7464, allocations: 19.96 MB / 0.7108 GB, free: 9.465 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.7465, allocations: 81.39 kB / 0.7109 GB, free: 9.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005244/0.7518, allocations: 3.036 MB / 0.7138 GB, free: 6.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006454/0.7524, allocations: 65.69 kB / 0.7139 GB, free: 6.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002885/0.7553, allocations: 3.108 MB / 0.7169 GB, free: 3.113 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002436/0.7577, allocations: 1.069 MB / 0.718 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002266/0.76, allocations: 1.203 MB / 0.7192 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7602, allocations: 305.1 kB / 0.7194 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004885/0.7651, allocations: 2.842 MB / 0.7222 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008852/0.7739, allocations: 6.025 MB / 0.7281 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3389/1.113, allocations: 9.651 MB / 0.7375 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.747e-05/1.113, allocations: 34.69 kB / 0.7376 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01678/1.13, allocations: 10.02 MB / 0.7474 GB, free: 145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/1.13, allocations: 54.91 kB / 0.7474 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/1.13, allocations: 109.7 kB / 0.7475 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003306/1.133, allocations: 1.361 MB / 0.7488 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/1.138, allocations: 1.37 MB / 0.7502 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008382/1.146, allocations: 7.704 MB / 0.7577 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/1.151, allocations: 362.3 kB / 0.758 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007983/1.151, allocations: 346.1 kB / 0.7584 GB, free: 139.4 MB / 0.5606 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.004018/1.155, allocations: 2.302 MB / 0.7606 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/1.156, allocations: 318 kB / 0.7609 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009653/1.166, allocations: 6.608 MB / 0.7674 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.197e-05/1.166, allocations: 51.98 kB / 0.7674 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.166, allocations: 8 kB / 0.7674 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.836e-05/1.166, allocations: 11.95 kB / 0.7675 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02126/1.187, allocations: 13.84 MB / 0.781 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/1.187, allocations: 12.31 kB / 0.781 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/1.189, allocations: 451.3 kB / 0.7814 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/1.192, allocations: 1.227 MB / 0.7826 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000512/1.193, allocations: 48 kB / 0.7826 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007199/1.2, allocations: 6.909 MB / 0.7894 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.2, allocations: 11.98 kB / 0.7894 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/1.213, allocations: 9.872 MB / 0.799 GB, free: 98.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008628/1.214, allocations: 289.9 kB / 0.7993 GB, free: 97.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008851/1.215, allocations: 51.94 kB / 0.7994 GB, free: 97.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.216, allocations: 199.7 kB / 0.7996 GB, free: 97.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004519/1.217, allocations: 169.5 kB / 0.7997 GB, free: 97.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002087/1.217, allocations: 82.64 kB / 0.7998 GB, free: 97.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002629/1.22, allocations: 1.871 MB / 0.8016 GB, free: 95.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.22, allocations: 0 / 0.8016 GB, free: 95.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004985/1.225, allocations: 1.102 MB / 0.8027 GB, free: 94.34 MB / 0.5606 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.0126/1.237, allocations: 10.53 MB / 0.813 GB, free: 83.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009141/1.246, allocations: 6.676 MB / 0.8195 GB, free: 76.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.246, allocations: 6.141 kB / 0.8195 GB, free: 76.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003362/1.25, allocations: 2.653 MB / 0.8221 GB, free: 74.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/1.252, allocations: 423.2 kB / 0.8225 GB, free: 73.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06823/1.321, allocations: 49.1 MB / 0.8705 GB, free: 19.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/1.324, allocations: 3.574 MB / 0.8739 GB, free: 16.21 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004114/1.328, allocations: 2.203 MB / 0.8761 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/1.331, allocations: 2.065 MB / 0.8781 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.331, allocations: 0 / 0.8781 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2019/1.532, allocations: 75.67 MB / 0.952 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.52/27.05, allocations: 9.812 kB / 0.952 GB, free: 0.6758 MB / 0.6231 GB " [Timeout remaining time 633] (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: 31.317628516000696]