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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 114 kB / 20.43 MB, free: 1.457 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.001543/0.001543, allocations: 213.9 kB / 23.74 MB, free: 4.672 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.551/1.551, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2513/0.2513, allocations: 46.92 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003354/0.003354, allocations: 79.88 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4178, allocations: 66.09 MB / 0.5607 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01445/0.4323, allocations: 12.02 MB / 0.5725 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.4427, allocations: 4.427 MB / 0.5768 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.4452, allocations: 83.62 kB / 0.5769 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006083/0.4513, allocations: 2.807 MB / 0.5796 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006528/0.4578, allocations: 2.065 MB / 0.5816 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.4603, allocations: 1.01 MB / 0.5826 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00964/0.47, allocations: 5.38 MB / 0.5879 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005141/0.4751, allocations: 2.888 MB / 0.5907 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.4791, allocations: 1.775 MB / 0.5924 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004907/0.484, allocations: 2.644 MB / 0.595 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.4853, allocations: 364 kB / 0.5954 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.4886, allocations: 1.455 MB / 0.5968 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00322/0.4918, allocations: 2.244 MB / 0.599 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004288/0.4961, allocations: 2.552 MB / 0.6015 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.5078, allocations: 8.225 MB / 0.6095 GB, free: 2.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.5078, allocations: 0 / 0.6095 GB, free: 2.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5078, allocations: 0 / 0.6095 GB, free: 2.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002647/0.5081, allocations: 0 / 0.6095 GB, free: 2.164 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01889/0.527, allocations: 5.947 MB / 0.6153 GB, free: 12.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/0.5271, allocations: 12.03 kB / 0.6153 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002134/0.5292, allocations: 0.7984 MB / 0.6161 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08158/0.6108, allocations: 7.242 MB / 0.6232 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.6213, allocations: 3.533 MB / 0.6266 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.6215, allocations: 257.8 kB / 0.6269 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.6231, allocations: 347.8 kB / 0.6272 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02298/0.6461, allocations: 12.29 MB / 0.6392 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.6463, allocations: 59.52 kB / 0.6393 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005308/0.6468, allocations: 163.8 kB / 0.6394 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004107/0.6509, allocations: 2.377 MB / 0.6417 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02363/0.6745, allocations: 10.71 MB / 0.6522 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07312/0.7476, allocations: 48.52 MB / 0.6996 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/0.7634, allocations: 5.189 MB / 0.7046 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004232/0.7676, allocations: 2.838 MB / 0.7074 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02131/0.7889, allocations: 11.87 MB / 0.719 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/0.789, allocations: 51.88 kB / 0.7191 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=193): time 7.024e-06/0.789, allocations: 7.984 kB / 0.7191 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.4402/1.229, allocations: 38.48 MB / 0.7566 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/1.229, allocations: 205.9 kB / 0.7568 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005233/1.235, allocations: 4.39 MB / 0.7611 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005787/1.235, allocations: 69.67 kB / 0.7612 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/1.237, allocations: 3.565 MB / 0.7647 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/1.238, allocations: 0.9902 MB / 0.7656 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/1.239, allocations: 1.374 MB / 0.767 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.459e-05/1.239, allocations: 305.1 kB / 0.7673 GB, free: 138 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/1.243, allocations: 3.121 MB / 0.7703 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004989/1.248, allocations: 7.037 MB / 0.7772 GB, free: 126 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00963/1.258, allocations: 10.96 MB / 0.7879 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.258, allocations: 40 kB / 0.7879 GB, free: 113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02289/1.28, allocations: 12.65 MB / 0.8003 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.281, allocations: 64 kB / 0.8004 GB, free: 100.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/1.281, allocations: 136 kB / 0.8005 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008445/1.289, allocations: 3.239 MB / 0.8036 GB, free: 96.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004929/1.294, allocations: 1.536 MB / 0.8051 GB, free: 95.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/1.314, allocations: 16.5 MB / 0.8213 GB, free: 78.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005836/1.32, allocations: 431.4 kB / 0.8217 GB, free: 78.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/1.321, allocations: 404 kB / 0.8221 GB, free: 77.98 MB / 0.5606 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.003945/1.325, allocations: 2.356 MB / 0.8244 GB, free: 75.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.326, allocations: 425.1 kB / 0.8248 GB, free: 75.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.339, allocations: 7.487 MB / 0.8321 GB, free: 67.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.152e-05/1.339, allocations: 28 kB / 0.8321 GB, free: 67.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/1.339, allocations: 8 kB / 0.8321 GB, free: 67.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.028e-05/1.339, allocations: 11.95 kB / 0.8321 GB, free: 67.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/1.364, allocations: 14.97 MB / 0.8467 GB, free: 52.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.928e-05/1.364, allocations: 0 / 0.8467 GB, free: 52.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.366, allocations: 379.5 kB / 0.8471 GB, free: 52.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00801/1.374, allocations: 2.93 MB / 0.85 GB, free: 49.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005871/1.375, allocations: 36 kB / 0.85 GB, free: 49.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/1.392, allocations: 14.73 MB / 0.8644 GB, free: 34.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.392, allocations: 4 kB / 0.8644 GB, free: 34.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01665/1.409, allocations: 11.47 MB / 0.8756 GB, free: 22.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.41, allocations: 397 kB / 0.876 GB, free: 22.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007693/1.411, allocations: 39.94 kB / 0.876 GB, free: 22.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.413, allocations: 195.3 kB / 0.8762 GB, free: 22.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005169/1.413, allocations: 153.7 kB / 0.8763 GB, free: 22.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/1.413, allocations: 67.98 kB / 0.8764 GB, free: 22.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003341/1.417, allocations: 2.742 MB / 0.8791 GB, free: 19.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.417, allocations: 0 / 0.8791 GB, free: 19.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005341/1.422, allocations: 1.293 MB / 0.8803 GB, free: 18.04 MB / 0.5606 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.01742/1.44, allocations: 12.14 MB / 0.8922 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.452, allocations: 7.52 MB / 0.8995 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.452, allocations: 0 / 0.8995 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00536/1.457, allocations: 2.892 MB / 0.9024 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.46, allocations: 0.5197 MB / 0.9029 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1222/1.583, allocations: 60.75 MB / 0.9622 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00774/1.59, allocations: 3.662 MB / 0.9658 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006368/1.597, allocations: 2.169 MB / 0.9679 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004694/1.601, allocations: 2.221 MB / 0.9701 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of SimCode: time 1.903e-06/1.601, allocations: 0 / 0.9701 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4466/2.048, allocations: 100.9 MB / 1.069 GB, free: 163.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.68/33.73, allocations: 8.062 kB / 1.069 GB, free: 163.1 MB / 0.6544 GB " [Timeout remaining time 626] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 37.11742070699984]