Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.001962/0.001962, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002222/0.002222, allocations: 213.7 kB / 22.98 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 75.89 kB / 467.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1452, allocations: 61.05 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01429/0.1595, allocations: 10.52 MB / 0.5264 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.1701, allocations: 4.178 MB / 0.5305 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.1724, allocations: 83.62 kB / 0.5306 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006/0.1784, allocations: 2.702 MB / 0.5332 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007506/0.1859, allocations: 2.105 MB / 0.5353 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.1889, allocations: 1.018 MB / 0.5363 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2803/0.4692, allocations: 5.137 MB / 0.5413 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004471/0.4737, allocations: 2.877 MB / 0.5441 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.477, allocations: 1.799 MB / 0.5459 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004456/0.4815, allocations: 2.523 MB / 0.5483 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.4831, allocations: 368.4 kB / 0.5487 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.4869, allocations: 1.313 MB / 0.55 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003328/0.4902, allocations: 2.276 MB / 0.5522 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004415/0.4946, allocations: 1.937 MB / 0.5541 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.5057, allocations: 8.345 MB / 0.5622 GB, free: 6.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.5057, allocations: 3.844 kB / 0.5622 GB, free: 6.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5057, allocations: 1.844 kB / 0.5622 GB, free: 6.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002648/0.506, allocations: 0 / 0.5622 GB, free: 6.152 MB / 414.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.02022/0.5262, allocations: 5.991 MB / 0.5681 GB, free: 2.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.5262, allocations: 13.31 kB / 0.5681 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00283/0.5291, allocations: 0.79 MB / 0.5689 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08916/0.6182, allocations: 7.251 MB / 0.5759 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.629, allocations: 4.078 MB / 0.5799 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.6293, allocations: 256.3 kB / 0.5802 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.6309, allocations: 350.5 kB / 0.5805 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02691/0.6579, allocations: 12.39 MB / 0.5926 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/0.6581, allocations: 53.41 kB / 0.5927 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009287/0.659, allocations: 162.6 kB / 0.5928 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004511/0.6635, allocations: 2.379 MB / 0.5951 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02583/0.6893, allocations: 10.67 MB / 0.6056 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07588/0.7652, allocations: 46.38 MB / 0.6508 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01726/0.7825, allocations: 5.184 MB / 0.6559 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005052/0.7875, allocations: 2.84 MB / 0.6587 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02736/0.8149, allocations: 11.3 MB / 0.6697 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.83e-05/0.815, allocations: 59.81 kB / 0.6698 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 7.974e-06/0.815, allocations: 3.562 kB / 0.6698 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.1362/0.9511, allocations: 38.7 MB / 0.7076 GB, free: 12.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.9513, allocations: 213.8 kB / 0.7078 GB, free: 12.03 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/0.9619, allocations: 4.658 MB / 0.7123 GB, free: 7.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009308/0.9628, allocations: 61.7 kB / 0.7124 GB, free: 7.285 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003611/0.9664, allocations: 3.569 MB / 0.7159 GB, free: 3.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/0.9683, allocations: 0.9948 MB / 0.7168 GB, free: 2.746 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005203/0.9735, allocations: 1.38 MB / 0.7182 GB, free: 1.359 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.9737, allocations: 301.1 kB / 0.7185 GB, free: 1.062 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006219/0.9799, allocations: 3.113 MB / 0.7215 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01035/0.9903, allocations: 7.093 MB / 0.7284 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/1.007, allocations: 10.95 MB / 0.7391 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002012/1.007, allocations: 40 kB / 0.7392 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03128/1.039, allocations: 12.65 MB / 0.7515 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/1.039, allocations: 67.98 kB / 0.7516 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003103/1.039, allocations: 136 kB / 0.7517 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/1.05, allocations: 3.235 MB / 0.7549 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00636/1.057, allocations: 1.536 MB / 0.7564 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2795/1.336, allocations: 16.33 MB / 0.7723 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005852/1.342, allocations: 432.3 kB / 0.7727 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.343, allocations: 409.7 kB / 0.7731 GB, free: 189.5 MB / 0.5919 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.00537/1.349, allocations: 2.35 MB / 0.7754 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.35, allocations: 428.1 kB / 0.7758 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/1.367, allocations: 7.483 MB / 0.7831 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.129e-05/1.367, allocations: 28.42 kB / 0.7832 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/1.367, allocations: 13.25 kB / 0.7832 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.973e-05/1.367, allocations: 13.31 kB / 0.7832 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0313/1.398, allocations: 14.38 MB / 0.7972 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-05/1.398, allocations: 7.781 kB / 0.7972 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/1.4, allocations: 382 kB / 0.7976 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008338/1.409, allocations: 2.923 MB / 0.8005 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006509/1.409, allocations: 39.39 kB / 0.8005 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/1.428, allocations: 14.55 MB / 0.8147 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.428, allocations: 3.875 kB / 0.8147 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/1.447, allocations: 11.49 MB / 0.8259 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004727/1.452, allocations: 0.8648 MB / 0.8268 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/1.453, allocations: 36.88 kB / 0.8268 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003336/1.457, allocations: 191.7 kB / 0.827 GB, free: 160.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008233/1.458, allocations: 158.3 kB / 0.8271 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002454/1.458, allocations: 63.98 kB / 0.8272 GB, free: 160.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005088/1.463, allocations: 2.782 MB / 0.8299 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.51e-07/1.463, allocations: 0 / 0.8299 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0072/1.47, allocations: 1.309 MB / 0.8312 GB, free: 156.3 MB / 0.5919 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.01909/1.489, allocations: 12.13 MB / 0.8431 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01199/1.501, allocations: 7.528 MB / 0.8504 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.501, allocations: 4 kB / 0.8504 GB, free: 136.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004799/1.506, allocations: 2.885 MB / 0.8532 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00423/1.51, allocations: 0.5136 MB / 0.8537 GB, free: 133.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1017/1.612, allocations: 60.95 MB / 0.9133 GB, free: 66.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00543/1.617, allocations: 3.153 MB / 0.9163 GB, free: 62.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005123/1.623, allocations: 2.174 MB / 0.9185 GB, free: 60.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003846/1.626, allocations: 2.233 MB / 0.9206 GB, free: 58.51 MB / 0.5919 GB Notification: Performance of SimCode: time 1.954e-06/1.626, allocations: 0 / 0.9206 GB, free: 58.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4037/2.03, allocations: 96.56 MB / 1.015 GB, free: 195.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/19.84, allocations: 7.562 kB / 1.015 GB, free: 195.9 MB / 0.6075 GB " [Timeout remaining time 640] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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: 23.908909667748958]