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.001567/0.001567, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 73.33 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.119, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2784/0.3975, allocations: 43.14 MB / 0.5105 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01948/0.417, allocations: 9.438 MB / 0.5197 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009211/0.4262, allocations: 184.2 kB / 0.5199 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005452/0.4317, allocations: 2.636 MB / 0.5224 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005719/0.4375, allocations: 1.873 MB / 0.5243 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.4396, allocations: 0.9421 MB / 0.5252 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00735/0.447, allocations: 5.574 MB / 0.5306 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003935/0.4509, allocations: 3.612 MB / 0.5342 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.4537, allocations: 1.774 MB / 0.5359 GB, free: 2.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/0.4567, allocations: 2.703 MB / 0.5385 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006839/0.4574, allocations: 367.8 kB / 0.5389 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.4598, allocations: 1.42 MB / 0.5403 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001715/0.4615, allocations: 2.203 MB / 0.5424 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002281/0.4638, allocations: 2.581 MB / 0.545 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008289/0.4721, allocations: 7.989 MB / 0.5528 GB, free: 5.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4721, allocations: 0 / 0.5528 GB, free: 5.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4722, allocations: 0 / 0.5528 GB, free: 5.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002243/0.4724, allocations: 0 / 0.5528 GB, free: 5.73 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.01441/0.4868, allocations: 5.878 MB / 0.5585 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4869, allocations: 8.031 kB / 0.5585 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001268/0.4881, allocations: 0.7972 MB / 0.5593 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08263/0.5708, allocations: 7.209 MB / 0.5663 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008989/0.5798, allocations: 3.542 MB / 0.5698 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.5801, allocations: 254.5 kB / 0.57 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.5812, allocations: 361.8 kB / 0.5704 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.6035, allocations: 12.28 MB / 0.5824 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/0.6037, allocations: 59.52 kB / 0.5824 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004535/0.6041, allocations: 162.3 kB / 0.5826 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003851/0.608, allocations: 2.381 MB / 0.5849 GB, free: 4.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/0.6294, allocations: 10.7 MB / 0.5953 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06174/0.6912, allocations: 48.76 MB / 0.643 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/0.707, allocations: 5.856 MB / 0.6487 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004393/0.7115, allocations: 3.112 MB / 0.6517 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02064/0.7321, allocations: 13.02 MB / 0.6644 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.7322, allocations: 59.81 kB / 0.6645 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 4.619e-06/0.7322, allocations: 0 / 0.6645 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.1212/0.8534, allocations: 38.69 MB / 0.7023 GB, free: 10.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.8536, allocations: 205.9 kB / 0.7025 GB, free: 10.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007825/0.8614, allocations: 4.388 MB / 0.7067 GB, free: 5.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005444/0.862, allocations: 64.05 kB / 0.7068 GB, free: 5.625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002607/0.8646, allocations: 3.426 MB / 0.7102 GB, free: 2.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.866, allocations: 0.9428 MB / 0.7111 GB, free: 1.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2182/1.084, allocations: 1.362 MB / 0.7124 GB, free: 196.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.63e-05/1.084, allocations: 304.2 kB / 0.7127 GB, free: 196.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005795/1.09, allocations: 3.114 MB / 0.7157 GB, free: 196.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009019/1.099, allocations: 7.047 MB / 0.7226 GB, free: 190.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01378/1.113, allocations: 10.96 MB / 0.7333 GB, free: 182.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/1.113, allocations: 39.62 kB / 0.7334 GB, free: 182.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02536/1.139, allocations: 12.66 MB / 0.7457 GB, free: 177.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/1.139, allocations: 68.12 kB / 0.7458 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/1.139, allocations: 138.9 kB / 0.7459 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00854/1.147, allocations: 3.247 MB / 0.7491 GB, free: 177.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005581/1.153, allocations: 1.532 MB / 0.7506 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/1.174, allocations: 16.61 MB / 0.7668 GB, free: 163.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/1.18, allocations: 430.9 kB / 0.7672 GB, free: 162.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/1.181, allocations: 411.9 kB / 0.7676 GB, free: 162.5 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.003708/1.184, allocations: 2.348 MB / 0.7699 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008064/1.185, allocations: 400.7 kB / 0.7703 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.198, allocations: 7.526 MB / 0.7776 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.501e-05/1.198, allocations: 26.27 kB / 0.7777 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/1.198, allocations: 12 kB / 0.7777 GB, free: 152.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.814e-05/1.198, allocations: 11.95 kB / 0.7777 GB, free: 152.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02391/1.222, allocations: 15.21 MB / 0.7925 GB, free: 137.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-05/1.222, allocations: 3.984 kB / 0.7925 GB, free: 137.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.224, allocations: 381.5 kB / 0.7929 GB, free: 136.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007936/1.232, allocations: 2.931 MB / 0.7958 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005071/1.233, allocations: 43.94 kB / 0.7958 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/1.25, allocations: 14.76 MB / 0.8102 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.25, allocations: 0.5469 kB / 0.8102 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01675/1.267, allocations: 11.47 MB / 0.8214 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.268, allocations: 451.7 kB / 0.8219 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006897/1.269, allocations: 36 kB / 0.8219 GB, free: 107.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/1.271, allocations: 195.7 kB / 0.8221 GB, free: 106.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005604/1.271, allocations: 141.8 kB / 0.8222 GB, free: 106.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.271, allocations: 74.19 kB / 0.8223 GB, free: 106.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003478/1.275, allocations: 2.742 MB / 0.825 GB, free: 103.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.162e-06/1.275, allocations: 0 / 0.825 GB, free: 103.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00594/1.281, allocations: 1.296 MB / 0.8262 GB, free: 102.7 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.01765/1.299, allocations: 12.14 MB / 0.8381 GB, free: 90.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01769/1.316, allocations: 10.37 MB / 0.8482 GB, free: 80.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.316, allocations: 0 / 0.8482 GB, free: 80.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007355/1.324, allocations: 3.123 MB / 0.8513 GB, free: 76.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006527/1.33, allocations: 0.5136 MB / 0.8518 GB, free: 76.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3787/1.709, allocations: 70.32 MB / 0.9204 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00507/1.714, allocations: 3.663 MB / 0.924 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005693/1.72, allocations: 2.172 MB / 0.9261 GB, free: 181.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003044/1.723, allocations: 2.213 MB / 0.9283 GB, free: 181.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.393e-06/1.723, allocations: 0 / 0.9283 GB, free: 181.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/1.865, allocations: 98.15 MB / 1.024 GB, free: 102.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/1.865, allocations: 216 kB / 1.024 GB, free: 102.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.747/6.613, allocations: 0 / 1.024 GB, free: 102.1 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