Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 81.19 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 62.44 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2711/0.3961, allocations: 43.14 MB / 0.5103 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.4145, allocations: 9.542 MB / 0.5196 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008599/0.4231, allocations: 184.9 kB / 0.5198 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005402/0.4286, allocations: 2.732 MB / 0.5224 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005816/0.4345, allocations: 1.879 MB / 0.5243 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.4367, allocations: 0.9275 MB / 0.5252 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009159/0.4459, allocations: 7.505 MB / 0.5325 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.4501, allocations: 3.342 MB / 0.5358 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002849/0.453, allocations: 1.544 MB / 0.5373 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.4562, allocations: 2.59 MB / 0.5398 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007349/0.457, allocations: 253.5 kB / 0.54 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.4595, allocations: 1.378 MB / 0.5414 GB, free: 156 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001914/0.4614, allocations: 2.085 MB / 0.5434 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.4642, allocations: 2.435 MB / 0.5458 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007945/0.4721, allocations: 7.843 MB / 0.5535 GB, free: 4.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4722, allocations: 4 kB / 0.5535 GB, free: 4.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.4722, allocations: 0 / 0.5535 GB, free: 4.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001968/0.4724, allocations: 0 / 0.5535 GB, free: 4.852 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01339/0.4858, allocations: 5.875 MB / 0.5592 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.4859, allocations: 8.875 kB / 0.5592 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001119/0.487, allocations: 0.7935 MB / 0.56 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07888/0.5659, allocations: 7.214 MB / 0.567 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007165/0.5731, allocations: 3.541 MB / 0.5705 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.5733, allocations: 253 kB / 0.5707 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009603/0.5742, allocations: 363.2 kB / 0.5711 GB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/0.5962, allocations: 12.28 MB / 0.5831 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001884/0.5965, allocations: 59.52 kB / 0.5831 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005569/0.597, allocations: 163.2 kB / 0.5833 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004092/0.6011, allocations: 2.376 MB / 0.5856 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/0.6221, allocations: 10.7 MB / 0.5961 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05956/0.6817, allocations: 48.78 MB / 0.6437 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/0.6969, allocations: 5.848 MB / 0.6494 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004016/0.7009, allocations: 3.12 MB / 0.6524 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01878/0.7197, allocations: 13.01 MB / 0.6651 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.7198, allocations: 59.88 kB / 0.6652 GB, free: 316 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 4.208e-06/0.7198, allocations: 0 / 0.6652 GB, free: 316 kB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.1203/0.8401, allocations: 38.69 MB / 0.703 GB, free: 9.465 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.8403, allocations: 205.9 kB / 0.7032 GB, free: 9.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008056/0.8484, allocations: 4.38 MB / 0.7075 GB, free: 4.82 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007128/0.8491, allocations: 69.69 kB / 0.7075 GB, free: 4.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002751/0.8519, allocations: 3.421 MB / 0.7109 GB, free: 1.328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001527/0.8534, allocations: 0.9493 MB / 0.7118 GB, free: 396 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2753/1.129, allocations: 1.361 MB / 0.7131 GB, free: 197.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.892e-05/1.129, allocations: 302.8 kB / 0.7134 GB, free: 197 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005672/1.135, allocations: 3.114 MB / 0.7165 GB, free: 196.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009082/1.144, allocations: 7.045 MB / 0.7233 GB, free: 190.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/1.159, allocations: 10.96 MB / 0.734 GB, free: 182 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002824/1.16, allocations: 40.41 kB / 0.7341 GB, free: 182 MB / 0.545 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02704/1.187, allocations: 12.66 MB / 0.7464 GB, free: 177.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/1.187, allocations: 63.28 kB / 0.7465 GB, free: 177.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.187, allocations: 137.7 kB / 0.7466 GB, free: 177.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008907/1.196, allocations: 3.244 MB / 0.7498 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005306/1.201, allocations: 1.538 MB / 0.7513 GB, free: 177.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/1.22, allocations: 15.48 MB / 0.7664 GB, free: 163.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005565/1.226, allocations: 438.2 kB / 0.7668 GB, free: 163.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/1.227, allocations: 407.5 kB / 0.7672 GB, free: 162.9 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003496/1.23, allocations: 2.345 MB / 0.7695 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007717/1.231, allocations: 408.8 kB / 0.7699 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/1.244, allocations: 7.512 MB / 0.7772 GB, free: 152.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.447e-05/1.244, allocations: 28 kB / 0.7773 GB, free: 152.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.832e-05/1.244, allocations: 12 kB / 0.7773 GB, free: 152.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/1.244, allocations: 11.95 kB / 0.7773 GB, free: 152.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0248/1.269, allocations: 15.22 MB / 0.7922 GB, free: 137.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-05/1.269, allocations: 3.938 kB / 0.7922 GB, free: 137.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/1.271, allocations: 375.5 kB / 0.7925 GB, free: 137.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008061/1.279, allocations: 2.931 MB / 0.7954 GB, free: 134.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006181/1.28, allocations: 36 kB / 0.7954 GB, free: 134.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01647/1.296, allocations: 13.73 MB / 0.8088 GB, free: 120.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.296, allocations: 0 / 0.8088 GB, free: 120.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01669/1.313, allocations: 11.48 MB / 0.82 GB, free: 108.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.314, allocations: 443.7 kB / 0.8205 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/1.315, allocations: 43.98 kB / 0.8205 GB, free: 108.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.317, allocations: 187.7 kB / 0.8207 GB, free: 108.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000594/1.318, allocations: 149.7 kB / 0.8208 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/1.318, allocations: 67.62 kB / 0.8209 GB, free: 108 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003519/1.322, allocations: 2.746 MB / 0.8236 GB, free: 105.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.21e-07/1.322, allocations: 0 / 0.8236 GB, free: 105.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006193/1.328, allocations: 1.292 MB / 0.8248 GB, free: 104 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01707/1.345, allocations: 12.15 MB / 0.8367 GB, free: 91.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01155/1.356, allocations: 7.829 MB / 0.8443 GB, free: 83.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.356, allocations: 4 kB / 0.8443 GB, free: 83.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004294/1.361, allocations: 3.127 MB / 0.8474 GB, free: 80.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/1.365, allocations: 496.5 kB / 0.8479 GB, free: 80.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3514/1.716, allocations: 70.3 MB / 0.9165 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005717/1.722, allocations: 3.668 MB / 0.9201 GB, free: 186.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006658/1.728, allocations: 2.172 MB / 0.9222 GB, free: 186.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003441/1.732, allocations: 2.219 MB / 0.9244 GB, free: 186.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.744e-06/1.732, allocations: 0 / 0.9244 GB, free: 186.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.86/3.592, allocations: 95.92 MB / 1.018 GB, free: 109.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/3.592, allocations: 217.8 kB / 1.018 GB, free: 109.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.548/8.141, allocations: 0 / 1.018 GB, free: 109.3 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches