Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 101 kB / 16.27 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 184.1 kB / 17.19 MB, free: 5.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2253/0.2253, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 72.09 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1254, allocations: 57.78 MB / 440.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01503/0.1404, allocations: 16.06 MB / 456.7 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.1535, allocations: 5.441 MB / 462.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004045/0.1576, allocations: 107.7 kB / 462.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009725/0.1673, allocations: 5.136 MB / 467.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007598/0.1751, allocations: 2.634 MB / 470 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.179, allocations: 1.388 MB / 471.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01319/0.1922, allocations: 7.6 MB / 479 MB, free: 356 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01264/0.2049, allocations: 7.052 MB / 486 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005968/0.2109, allocations: 2.773 MB / 488.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006359/0.2173, allocations: 3.755 MB / 492.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002405/0.2198, allocations: 0.6367 MB / 493.2 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004639/0.2244, allocations: 1.775 MB / 495 MB, free: 252 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005216/0.2297, allocations: 3.355 MB / 498.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009705/0.2394, allocations: 3.819 MB / 0.4904 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01942/0.2589, allocations: 11.94 MB / 0.502 GB, free: 13.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.259, allocations: 0 / 0.502 GB, free: 13.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.259, allocations: 0 / 0.502 GB, free: 13.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005485/0.2595, allocations: 0 / 0.502 GB, free: 13.07 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.0294/0.2889, allocations: 8.232 MB / 0.5101 GB, free: 4.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.289, allocations: 15.89 kB / 0.5101 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004041/0.2931, allocations: 1.156 MB / 0.5112 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05784/0.3509, allocations: 8.366 MB / 0.5194 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0169/0.3679, allocations: 6.576 MB / 0.5258 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005284/0.3685, allocations: 386 kB / 0.5262 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/0.3715, allocations: 0.5152 MB / 0.5267 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.288/0.6595, allocations: 15.39 MB / 0.5417 GB, free: 77.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005727/0.6602, allocations: 69.67 kB / 0.5418 GB, free: 77.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002371/0.6626, allocations: 239.2 kB / 0.542 GB, free: 76.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004683/0.6673, allocations: 2.548 MB / 0.5445 GB, free: 76.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02765/0.6949, allocations: 12.87 MB / 0.5571 GB, free: 70.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07665/0.7716, allocations: 57.25 MB / 0.613 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/0.7887, allocations: 6.3 MB / 0.6191 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005074/0.7938, allocations: 3.321 MB / 0.6224 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02105/0.815, allocations: 11.28 MB / 0.6334 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.05e-05/0.8151, allocations: 72.48 kB / 0.6335 GB, free: 7.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 7.474e-06/0.8151, allocations: 0 / 0.6335 GB, free: 7.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=338): time 0.1501/0.9652, allocations: 40.07 MB / 0.6726 GB, free: 14.92 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.9654, allocations: 247.8 kB / 0.6728 GB, free: 14.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01359/0.979, allocations: 5.782 MB / 0.6785 GB, free: 8.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009089/0.98, allocations: 73.7 kB / 0.6785 GB, free: 8.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004805/0.9848, allocations: 4.462 MB / 0.6829 GB, free: 4.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002393/0.9872, allocations: 1.24 MB / 0.6841 GB, free: 3.016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006543/0.9938, allocations: 1.627 MB / 0.6857 GB, free: 1.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.994, allocations: 309.1 kB / 0.686 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007337/1.001, allocations: 3.768 MB / 0.6897 GB, free: 13.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01248/1.014, allocations: 8.296 MB / 0.6978 GB, free: 2.754 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/1.033, allocations: 13 MB / 0.7105 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001513/1.033, allocations: 44 kB / 0.7105 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.03751/1.07, allocations: 15.46 MB / 0.7256 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002111/1.071, allocations: 72.94 kB / 0.7257 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003297/1.071, allocations: 159.9 kB / 0.7258 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2875/1.358, allocations: 4.104 MB / 0.7298 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007718/1.366, allocations: 1.798 MB / 0.7316 GB, free: 168.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03865/1.405, allocations: 20.93 MB / 0.752 GB, free: 162 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007931/1.413, allocations: 492.2 kB / 0.7525 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001962/1.415, allocations: 478 kB / 0.753 GB, free: 161.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 717 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (966): * Single equations (assignments): 962 * 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 {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007272/1.422, allocations: 3.113 MB / 0.756 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/1.424, allocations: 0.5344 MB / 0.7565 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02245/1.447, allocations: 9.619 MB / 0.7659 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.35e-05/1.447, allocations: 38.92 kB / 0.7659 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.235e-05/1.447, allocations: 16.44 kB / 0.766 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.938e-05/1.447, allocations: 14.91 kB / 0.766 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04626/1.493, allocations: 19.74 MB / 0.7853 GB, free: 143.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-05/1.493, allocations: 8 kB / 0.7853 GB, free: 143.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002369/1.496, allocations: 0.4886 MB / 0.7857 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01167/1.507, allocations: 3.664 MB / 0.7893 GB, free: 139.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007338/1.508, allocations: 63.98 kB / 0.7894 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02248/1.531, allocations: 18.43 MB / 0.8074 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/1.531, allocations: 11.94 kB / 0.8074 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02378/1.555, allocations: 14.21 MB / 0.8213 GB, free: 107.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003811/1.558, allocations: 1.134 MB / 0.8224 GB, free: 106 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001673/1.56, allocations: 60 kB / 0.8224 GB, free: 105.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00374/1.564, allocations: 227.7 kB / 0.8227 GB, free: 105.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008095/1.565, allocations: 226.7 kB / 0.8229 GB, free: 105.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002559/1.565, allocations: 88.75 kB / 0.823 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005602/1.571, allocations: 3.679 MB / 0.8265 GB, free: 101.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.923e-06/1.571, allocations: 0 / 0.8265 GB, free: 101.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009601/1.58, allocations: 1.71 MB / 0.8282 GB, free: 100 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (256): * Single equations (assignments): 252 * 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 {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02397/1.604, allocations: 14.96 MB / 0.8428 GB, free: 84.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01965/1.624, allocations: 12.61 MB / 0.8551 GB, free: 72.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.624, allocations: 0 / 0.8551 GB, free: 72.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004549/1.629, allocations: 3.636 MB / 0.8587 GB, free: 68.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/1.633, allocations: 0.7739 MB / 0.8594 GB, free: 67.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3755/2.008, allocations: 93.76 MB / 0.951 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006802/2.015, allocations: 4.832 MB / 0.9557 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006617/2.022, allocations: 2.61 MB / 0.9583 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004527/2.026, allocations: 3.076 MB / 0.9613 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.424e-06/2.026, allocations: 0 / 0.9613 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1837/2.21, allocations: 133.5 MB / 1.092 GB, free: 49.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/15.46, allocations: 11.95 kB / 1.092 GB, free: 49.17 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches