Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.001328/0.001328, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001479/0.001479, allocations: 211.2 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2304/0.2304, allocations: 44.91 MB / 355.1 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001965/0.001965, allocations: 67.89 kB / 499.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.122, allocations: 65.42 MB / 0.5518 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01523/0.1372, allocations: 13.3 MB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.1478, allocations: 4.887 MB / 0.5695 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.1499, allocations: 95.56 kB / 0.5696 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007906/0.1578, allocations: 4.018 MB / 0.5735 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005814/0.1636, allocations: 2.233 MB / 0.5757 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.1662, allocations: 1.174 MB / 0.5769 GB, free: 296 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008213/0.1744, allocations: 5.82 MB / 0.5825 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005907/0.1803, allocations: 4.335 MB / 0.5868 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.184, allocations: 2.204 MB / 0.5889 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004579/0.1885, allocations: 3.19 MB / 0.592 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.1897, allocations: 0.5 MB / 0.5925 GB, free: 152 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.302/0.4917, allocations: 1.676 MB / 0.5942 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004618/0.4963, allocations: 2.723 MB / 0.5968 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008012/0.5043, allocations: 3.072 MB / 0.5998 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02256/0.5269, allocations: 10.12 MB / 0.6097 GB, free: 10.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.5269, allocations: 0 / 0.6097 GB, free: 10.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5269, allocations: 0.5312 kB / 0.6097 GB, free: 10.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005609/0.5274, allocations: 0 / 0.6097 GB, free: 10.06 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02698/0.5544, allocations: 6.806 MB / 0.6164 GB, free: 6.898 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5545, allocations: 10.09 kB / 0.6164 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004227/0.5587, allocations: 0.9203 MB / 0.6173 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08949/0.6482, allocations: 7.444 MB / 0.6245 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.6591, allocations: 4.158 MB / 0.6286 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.6595, allocations: 348.1 kB / 0.6289 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002268/0.6617, allocations: 437.2 kB / 0.6293 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03068/0.6924, allocations: 13.78 MB / 0.6428 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001892/0.6926, allocations: 53.92 kB / 0.6429 GB, free: 7.316 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000994/0.6936, allocations: 204.1 kB / 0.643 GB, free: 7.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004381/0.698, allocations: 2.415 MB / 0.6454 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02885/0.7268, allocations: 11.61 MB / 0.6567 GB, free: 9.387 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08113/0.808, allocations: 51.16 MB / 0.7067 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/0.8218, allocations: 4.5 MB / 0.7111 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004471/0.8263, allocations: 2.581 MB / 0.7136 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02142/0.8477, allocations: 12.44 MB / 0.7258 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.673e-05/0.8477, allocations: 61.44 kB / 0.7258 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=191): time 5.741e-06/0.8478, allocations: 0 / 0.7258 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=242): time 0.1663/1.014, allocations: 42.56 MB / 0.7674 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/1.014, allocations: 230.8 kB / 0.7676 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009135/1.023, allocations: 4.802 MB / 0.7723 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000694/1.024, allocations: 61.7 kB / 0.7724 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003856/1.028, allocations: 4.053 MB / 0.7763 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.029, allocations: 0.9567 MB / 0.7772 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003074/1.033, allocations: 1.476 MB / 0.7787 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.033, allocations: 305.1 kB / 0.779 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006044/1.039, allocations: 3.269 MB / 0.7822 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01185/1.051, allocations: 7.548 MB / 0.7895 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/1.068, allocations: 11.6 MB / 0.8009 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/1.068, allocations: 44 kB / 0.8009 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03353/1.101, allocations: 13.84 MB / 0.8144 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/1.102, allocations: 68 kB / 0.8145 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002367/1.102, allocations: 152 kB / 0.8146 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/1.115, allocations: 3.779 MB / 0.8183 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006832/1.121, allocations: 1.595 MB / 0.8199 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3605/1.482, allocations: 19.17 MB / 0.8386 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006639/1.489, allocations: 457.1 kB / 0.839 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/1.49, allocations: 429.3 kB / 0.8394 GB, free: 213.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006071/1.496, allocations: 2.656 MB / 0.842 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.497, allocations: 460.2 kB / 0.8425 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01929/1.517, allocations: 8.101 MB / 0.8504 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.449e-05/1.517, allocations: 26.28 kB / 0.8504 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.298e-05/1.517, allocations: 15.22 kB / 0.8504 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.024e-05/1.517, allocations: 15.66 kB / 0.8504 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03585/1.553, allocations: 17.26 MB / 0.8673 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/1.553, allocations: 0 / 0.8673 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.555, allocations: 400.1 kB / 0.8677 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/1.566, allocations: 3.83 MB / 0.8714 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000608/1.567, allocations: 39.78 kB / 0.8715 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02145/1.588, allocations: 17.54 MB / 0.8886 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.588, allocations: 0 / 0.8886 GB, free: 189.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02075/1.609, allocations: 12.53 MB / 0.9008 GB, free: 177.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/1.611, allocations: 486.2 kB / 0.9013 GB, free: 177 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.612, allocations: 37.02 kB / 0.9013 GB, free: 177 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.615, allocations: 207.7 kB / 0.9015 GB, free: 176.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006106/1.615, allocations: 154 kB / 0.9017 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/1.615, allocations: 65.64 kB / 0.9017 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004937/1.62, allocations: 2.998 MB / 0.9047 GB, free: 173.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/1.62, allocations: 0 / 0.9047 GB, free: 173.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.007385/1.628, allocations: 1.423 MB / 0.906 GB, free: 172.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02149/1.649, allocations: 13.24 MB / 0.919 GB, free: 158.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.66, allocations: 7.581 MB / 0.9264 GB, free: 151.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.66, allocations: 0 / 0.9264 GB, free: 151.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003626/1.664, allocations: 2.74 MB / 0.9291 GB, free: 148.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.667, allocations: 0.5401 MB / 0.9296 GB, free: 148.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09811/1.765, allocations: 65.93 MB / 0.994 GB, free: 75.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/1.769, allocations: 4.087 MB / 0.998 GB, free: 71.61 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004332/1.774, allocations: 2.179 MB / 1 GB, free: 69.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002729/1.776, allocations: 2.479 MB / 1.003 GB, free: 66.95 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/1.776, allocations: 0 / 1.003 GB, free: 66.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4553/2.232, allocations: 103.4 MB / 1.104 GB, free: 220.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.26/33.49, allocations: 5.875 kB / 1.104 GB, free: 220.6 MB / 0.6544 GB " [Timeout remaining time 626] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,revolute.phi,revolute.w Variables in the result:time,revolute.phi,revolute.w [Calling sys.exit(0), Time elapsed: 36.81005887500942]