Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.001373/0.001373, allocations: 120 kB / 18.49 MB, free: 4.59 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: 214.3 kB / 21.45 MB, free: 1.637 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.537/1.537, allocations: 230.4 MB / 254.7 MB, free: 14.83 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.247/0.247, allocations: 46.91 MB / 357.7 MB, free: 10.17 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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002342/0.002342, allocations: 75.88 kB / 0.4917 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1453, allocations: 66.06 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01702/0.1623, allocations: 13.51 MB / 0.5694 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.1726, allocations: 4.236 MB / 0.5735 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.1747, allocations: 79.69 kB / 0.5736 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004016/0.1787, allocations: 1.985 MB / 0.5755 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.1835, allocations: 1.938 MB / 0.5774 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.185, allocations: 0.5498 MB / 0.5779 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00589/0.1909, allocations: 4.041 MB / 0.5819 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/0.1948, allocations: 2.479 MB / 0.5843 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.1974, allocations: 1.472 MB / 0.5857 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/0.201, allocations: 2.204 MB / 0.5879 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008252/0.2018, allocations: 304 kB / 0.5882 GB, free: 4.551 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.2042, allocations: 1.041 MB / 0.5892 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002336/0.2065, allocations: 1.893 MB / 0.5911 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3192/0.5257, allocations: 2.24 MB / 0.5932 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.5394, allocations: 7.318 MB / 0.6004 GB, free: 9.246 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5394, allocations: 0.7812 kB / 0.6004 GB, free: 9.246 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.5394, allocations: 0 / 0.6004 GB, free: 9.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00042/0.5398, allocations: 0 / 0.6004 GB, free: 9.246 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.02075/0.5606, allocations: 5.02 MB / 0.6053 GB, free: 7.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.108e-05/0.5606, allocations: 10.2 kB / 0.6053 GB, free: 7.156 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003751/0.561, allocations: 113.8 kB / 0.6054 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00393/0.5649, allocations: 0.815 MB / 0.6062 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/0.5781, allocations: 3.175 MB / 0.6093 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/0.5858, allocations: 2.404 MB / 0.6117 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004031/0.5862, allocations: 236.2 kB / 0.6119 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002355/0.5885, allocations: 314.1 kB / 0.6122 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.028/0.6165, allocations: 12.09 MB / 0.624 GB, free: 2.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000193/0.6167, allocations: 35.72 kB / 0.624 GB, free: 2.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001291/0.618, allocations: 142 kB / 0.6242 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005073/0.6231, allocations: 2.836 MB / 0.6269 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02721/0.6503, allocations: 11.36 MB / 0.638 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07867/0.729, allocations: 41.12 MB / 0.6782 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/0.7424, allocations: 5.828 MB / 0.6839 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004946/0.7473, allocations: 2.751 MB / 0.6865 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002189/0.7495, allocations: 1.892 MB / 0.6884 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.195e-05/0.7496, allocations: 56.55 kB / 0.6884 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 7.845e-06/0.7496, allocations: 4 kB / 0.6884 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05986/0.8094, allocations: 20.19 MB / 0.7082 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.8095, allocations: 73.41 kB / 0.7082 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006169/0.8157, allocations: 3.04 MB / 0.7112 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009191/0.8166, allocations: 68.83 kB / 0.7113 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00302/0.8196, allocations: 3.106 MB / 0.7143 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002051/0.8217, allocations: 1.07 MB / 0.7153 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003069/0.8247, allocations: 1.195 MB / 0.7165 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8249, allocations: 305.1 kB / 0.7168 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005765/0.8307, allocations: 2.846 MB / 0.7196 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/0.8412, allocations: 6.016 MB / 0.7255 GB, free: 13.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/0.8575, allocations: 9.666 MB / 0.7349 GB, free: 3.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/0.8576, allocations: 28 kB / 0.7349 GB, free: 3.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02304/0.8807, allocations: 10.03 MB / 0.7447 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.8808, allocations: 55.94 kB / 0.7448 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/0.8809, allocations: 112 kB / 0.7449 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004319/0.8853, allocations: 1.355 MB / 0.7462 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005896/0.8912, allocations: 1.369 MB / 0.7475 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.9041, allocations: 7.809 MB / 0.7552 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005784/0.9098, allocations: 363.7 kB / 0.7555 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/0.9116, allocations: 348 kB / 0.7558 GB, free: 13.88 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.006951/0.9186, allocations: 2.294 MB / 0.7581 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009908/0.9196, allocations: 317.8 kB / 0.7584 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.9337, allocations: 6.608 MB / 0.7648 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-05/0.9338, allocations: 54.19 kB / 0.7649 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/0.9338, allocations: 4 kB / 0.7649 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-05/0.9339, allocations: 15.89 kB / 0.7649 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0349/0.9688, allocations: 13.88 MB / 0.7785 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.655e-05/0.9688, allocations: 11.98 kB / 0.7785 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002605/0.9714, allocations: 451.3 kB / 0.7789 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003979/0.9754, allocations: 1.219 MB / 0.7801 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009818/0.9764, allocations: 51.05 kB / 0.7801 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.9874, allocations: 7.02 MB / 0.787 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.9874, allocations: 8 kB / 0.787 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/1.006, allocations: 9.871 MB / 0.7966 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.008, allocations: 367 kB / 0.797 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.009, allocations: 51.98 kB / 0.797 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.011, allocations: 189.7 kB / 0.7972 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007017/1.012, allocations: 165.6 kB / 0.7974 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000304/1.012, allocations: 75.92 kB / 0.7975 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004017/1.016, allocations: 1.878 MB / 0.7993 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/1.016, allocations: 0 / 0.7993 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007923/1.024, allocations: 1.108 MB / 0.8004 GB, free: 15.76 MB / 0.6231 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.02083/1.045, allocations: 10.53 MB / 0.8107 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.058, allocations: 6.681 MB / 0.8172 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.058, allocations: 0 / 0.8172 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005192/1.063, allocations: 2.648 MB / 0.8198 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.067, allocations: 431.8 kB / 0.8202 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3882/1.455, allocations: 48.96 MB / 0.868 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005885/1.461, allocations: 3.576 MB / 0.8715 GB, free: 202.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005115/1.466, allocations: 2.198 MB / 0.8736 GB, free: 202 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004052/1.47, allocations: 2.065 MB / 0.8756 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.553e-06/1.47, allocations: 0 / 0.8756 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.58, allocations: 70.58 MB / 0.9446 GB, free: 129.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.45/25.04, allocations: 7.344 kB / 0.9446 GB, free: 129.9 MB / 0.6387 GB " [Timeout remaining time 635] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 29.223561185994186]