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.001345/0.001345, allocations: 104 kB / 16.46 MB, free: 6.445 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.001404/0.001404, allocations: 189.4 kB / 17.39 MB, free: 5.668 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.438/1.438, allocations: 207.6 MB / 225.8 MB, free: 11.52 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.2151/0.2151, allocations: 44.25 MB / 319.9 MB, free: 12.85 MB / 270.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.002017/0.002017, allocations: 77.3 kB / 453.5 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1088, allocations: 61.01 MB / 0.5024 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01831/0.1271, allocations: 16.11 MB / 0.5182 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.1383, allocations: 5.468 MB / 0.5235 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.1404, allocations: 107.7 kB / 0.5236 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009196/0.1496, allocations: 5.195 MB / 0.5287 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2186/0.3682, allocations: 2.699 MB / 0.5313 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.3713, allocations: 1.393 MB / 0.5327 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01181/0.3831, allocations: 7.593 MB / 0.5401 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008427/0.3916, allocations: 5.779 MB / 0.5458 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006848/0.3984, allocations: 2.791 MB / 0.5485 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006747/0.4051, allocations: 4.044 MB / 0.5524 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002547/0.4077, allocations: 0.6351 MB / 0.553 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/0.4123, allocations: 1.827 MB / 0.5548 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004342/0.4166, allocations: 3.484 MB / 0.5582 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006183/0.4228, allocations: 3.823 MB / 0.562 GB, free: 260 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01598/0.4388, allocations: 12.28 MB / 0.574 GB, free: 7.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4388, allocations: 0 / 0.574 GB, free: 7.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4388, allocations: 0 / 0.574 GB, free: 7.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004113/0.4392, allocations: 0 / 0.574 GB, free: 7.996 MB / 430.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.02361/0.4628, allocations: 8.442 MB / 0.5822 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4628, allocations: 11.89 kB / 0.5822 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003202/0.466, allocations: 1.16 MB / 0.5834 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05401/0.5201, allocations: 8.409 MB / 0.5916 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/0.5375, allocations: 6.703 MB / 0.5981 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/0.5379, allocations: 382.7 kB / 0.5985 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00236/0.5402, allocations: 0.5083 MB / 0.599 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03067/0.5709, allocations: 15.41 MB / 0.614 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001993/0.5711, allocations: 67.47 kB / 0.6141 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000697/0.5718, allocations: 239.7 kB / 0.6143 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003933/0.5757, allocations: 2.547 MB / 0.6168 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/0.6044, allocations: 12.87 MB / 0.6294 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08681/0.6912, allocations: 57.07 MB / 0.6851 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/0.7088, allocations: 6.11 MB / 0.6911 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004768/0.7135, allocations: 3.094 MB / 0.6941 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02067/0.7342, allocations: 11.31 MB / 0.7051 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.7343, allocations: 64.55 kB / 0.7052 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of pre-optimization done (n=245): time 4.719e-06/0.7343, allocations: 0 / 0.7052 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of matching and sorting (n=338): time 0.138/0.8723, allocations: 40.38 MB / 0.7446 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.8725, allocations: 243.8 kB / 0.7449 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009505/0.882, allocations: 5.795 MB / 0.7505 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000769/0.8827, allocations: 85.64 kB / 0.7506 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.2212/1.104, allocations: 4.615 MB / 0.7551 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001522/1.105, allocations: 1.294 MB / 0.7564 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002703/1.108, allocations: 1.638 MB / 0.758 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.414e-05/1.108, allocations: 303.4 kB / 0.7583 GB, free: 191.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005724/1.114, allocations: 3.773 MB / 0.7619 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007899/1.122, allocations: 8.297 MB / 0.77 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01674/1.139, allocations: 13.01 MB / 0.7827 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002591/1.139, allocations: 44.91 kB / 0.7828 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.0315/1.17, allocations: 15.44 MB / 0.7979 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000282/1.171, allocations: 70.97 kB / 0.7979 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003419/1.171, allocations: 158.7 kB / 0.7981 GB, free: 168.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/1.183, allocations: 4.089 MB / 0.8021 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006059/1.189, allocations: 1.797 MB / 0.8038 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02694/1.216, allocations: 20.94 MB / 0.8243 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007571/1.224, allocations: 0.4922 MB / 0.8248 GB, free: 152.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001719/1.225, allocations: 472.5 kB / 0.8252 GB, free: 152 MB / 0.5919 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.006804/1.232, allocations: 3.119 MB / 0.8283 GB, free: 148.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/1.234, allocations: 0.5549 MB / 0.8288 GB, free: 148.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/1.252, allocations: 9.563 MB / 0.8381 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-05/1.252, allocations: 36 kB / 0.8382 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/1.252, allocations: 19.94 kB / 0.8382 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.748e-05/1.252, allocations: 20.81 kB / 0.8382 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03498/1.287, allocations: 19.59 MB / 0.8573 GB, free: 118.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-05/1.287, allocations: 5.969 kB / 0.8573 GB, free: 118.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/1.289, allocations: 497.4 kB / 0.8578 GB, free: 118.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01048/1.299, allocations: 3.653 MB / 0.8614 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006146/1.3, allocations: 67.94 kB / 0.8615 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02053/1.321, allocations: 18.43 MB / 0.8794 GB, free: 96.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.321, allocations: 11.94 kB / 0.8795 GB, free: 96.08 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/1.341, allocations: 14.2 MB / 0.8933 GB, free: 81.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003377/1.344, allocations: 1.169 MB / 0.8945 GB, free: 80.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.346, allocations: 63.94 kB / 0.8945 GB, free: 80.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002834/1.348, allocations: 223.7 kB / 0.8947 GB, free: 80.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006297/1.349, allocations: 214.3 kB / 0.8949 GB, free: 80.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/1.349, allocations: 95.98 kB / 0.895 GB, free: 79.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004817/1.354, allocations: 3.675 MB / 0.8986 GB, free: 76.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.354, allocations: 0 / 0.8986 GB, free: 76.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007754/1.362, allocations: 1.707 MB / 0.9003 GB, free: 74.56 MB / 0.5919 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.02207/1.384, allocations: 14.95 MB / 0.9149 GB, free: 59.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.397, allocations: 8.812 MB / 0.9235 GB, free: 50.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/1.397, allocations: 8.125 kB / 0.9235 GB, free: 50.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004004/1.401, allocations: 3.303 MB / 0.9267 GB, free: 47.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/1.405, allocations: 0.7788 MB / 0.9275 GB, free: 46.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3981/1.803, allocations: 78.78 MB / 1.004 GB, free: 186.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007311/1.811, allocations: 4.839 MB / 1.009 GB, free: 184.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007171/1.818, allocations: 2.599 MB / 1.012 GB, free: 184.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004704/1.823, allocations: 3.076 MB / 1.015 GB, free: 181.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.333e-06/1.823, allocations: 3.938 kB / 1.015 GB, free: 181.9 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1778/2, allocations: 129.5 MB / 1.141 GB, free: 67.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.33/40.33, allocations: 7.922 kB / 1.141 GB, free: 67.67 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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