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.006656/0.006656, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001348/0.001348, allocations: 194.3 kB / 16.79 MB, free: 6.238 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.464/1.464, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.328/0.328, allocations: 43.49 MB / 313.5 MB, free: 8.551 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.001361/0.001362, allocations: 63.91 kB / 382.1 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1341, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.2713/0.4055, allocations: 68.47 MB / 0.4965 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03126/0.4368, allocations: 14.26 MB / 0.5104 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01553/0.4524, allocations: 303 kB / 0.5107 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009484/0.4619, allocations: 5.144 MB / 0.5157 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007171/0.4691, allocations: 2.482 MB / 0.5181 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.4724, allocations: 1.281 MB / 0.5194 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01425/0.4867, allocations: 10.92 MB / 0.53 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009289/0.496, allocations: 6.88 MB / 0.5368 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005461/0.5015, allocations: 2.461 MB / 0.5392 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006394/0.5079, allocations: 3.969 MB / 0.543 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002135/0.5101, allocations: 428 kB / 0.5434 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005254/0.5154, allocations: 1.658 MB / 0.5451 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005165/0.5206, allocations: 3.172 MB / 0.5482 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007387/0.528, allocations: 3.581 MB / 0.5517 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01441/0.5424, allocations: 11.77 MB / 0.5632 GB, free: 3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.5425, allocations: 4 kB / 0.5632 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5425, allocations: 0 / 0.5632 GB, free: 2.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004484/0.543, allocations: 0 / 0.5632 GB, free: 2.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.02254/0.5655, allocations: 8.237 MB / 0.5712 GB, free: 10.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5656, allocations: 8.031 kB / 0.5712 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003392/0.569, allocations: 1.16 MB / 0.5723 GB, free: 9.496 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0517/0.6207, allocations: 8.362 MB / 0.5805 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01689/0.6376, allocations: 6.568 MB / 0.5869 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004289/0.6381, allocations: 382.2 kB / 0.5873 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002791/0.6409, allocations: 0.5152 MB / 0.5878 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03514/0.6761, allocations: 15.4 MB / 0.6028 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003565/0.6765, allocations: 67.38 kB / 0.6029 GB, free: 9.207 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/0.6784, allocations: 239.8 kB / 0.6031 GB, free: 8.973 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004168/0.6826, allocations: 2.548 MB / 0.6056 GB, free: 6.422 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02926/0.7119, allocations: 12.87 MB / 0.6182 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.336/1.048, allocations: 57.25 MB / 0.6741 GB, free: 102 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/1.065, allocations: 6.315 MB / 0.6803 GB, free: 99.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004946/1.07, allocations: 3.318 MB / 0.6835 GB, free: 98.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01788/1.088, allocations: 11.28 MB / 0.6945 GB, free: 92.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/1.088, allocations: 70.73 kB / 0.6946 GB, free: 92.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=245): time 4.438e-06/1.088, allocations: 0 / 0.6946 GB, free: 92.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=338): time 0.128/1.216, allocations: 40.07 MB / 0.7337 GB, free: 66.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.575e-05/1.216, allocations: 237.5 kB / 0.7339 GB, free: 66.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007392/1.224, allocations: 5.79 MB / 0.7396 GB, free: 60.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001175/1.225, allocations: 77.7 kB / 0.7397 GB, free: 60.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002215/1.227, allocations: 4.459 MB / 0.744 GB, free: 56.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/1.228, allocations: 1.236 MB / 0.7452 GB, free: 54.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/1.23, allocations: 1.629 MB / 0.7468 GB, free: 53.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.968e-05/1.23, allocations: 301.1 kB / 0.7471 GB, free: 53.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004174/1.234, allocations: 3.768 MB / 0.7508 GB, free: 49.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005562/1.24, allocations: 8.308 MB / 0.7589 GB, free: 38.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/1.251, allocations: 13 MB / 0.7716 GB, free: 23.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-05/1.251, allocations: 48 kB / 0.7716 GB, free: 23.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02679/1.278, allocations: 15.45 MB / 0.7867 GB, free: 7.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/1.278, allocations: 76 kB / 0.7868 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001899/1.279, allocations: 160 kB / 0.787 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/1.291, allocations: 4.101 MB / 0.791 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005672/1.296, allocations: 1.797 MB / 0.7927 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03024/1.327, allocations: 19.6 MB / 0.8119 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007258/1.334, allocations: 499.3 kB / 0.8123 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/1.336, allocations: 470 kB / 0.8128 GB, free: 13.09 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.007136/1.343, allocations: 3.115 MB / 0.8158 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/1.345, allocations: 0.5283 MB / 0.8163 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2898/1.635, allocations: 9.613 MB / 0.8257 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.615e-05/1.635, allocations: 39.44 kB / 0.8258 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.499e-05/1.635, allocations: 14.06 kB / 0.8258 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.913e-05/1.635, allocations: 16.25 kB / 0.8258 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03724/1.672, allocations: 19.75 MB / 0.8451 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.74e-05/1.672, allocations: 6.688 kB / 0.8451 GB, free: 151.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/1.675, allocations: 499.4 kB / 0.8456 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01217/1.687, allocations: 3.657 MB / 0.8491 GB, free: 150.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/1.688, allocations: 63.06 kB / 0.8492 GB, free: 150.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02795/1.716, allocations: 17.14 MB / 0.8659 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.716, allocations: 13 kB / 0.8659 GB, free: 143.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02473/1.741, allocations: 14.21 MB / 0.8798 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002858/1.744, allocations: 1.137 MB / 0.8809 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008405/1.745, allocations: 66.39 kB / 0.881 GB, free: 137.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002465/1.747, allocations: 222.6 kB / 0.8812 GB, free: 137.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007377/1.748, allocations: 218 kB / 0.8814 GB, free: 137.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002378/1.748, allocations: 97.58 kB / 0.8815 GB, free: 137.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004913/1.753, allocations: 3.679 MB / 0.8851 GB, free: 136.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/1.753, allocations: 3.094 kB / 0.8851 GB, free: 136.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008107/1.761, allocations: 1.699 MB / 0.8868 GB, free: 136.2 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.0239/1.785, allocations: 14.96 MB / 0.9014 GB, free: 124.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.797, allocations: 9.219 MB / 0.9104 GB, free: 115.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.797, allocations: 3.062 kB / 0.9104 GB, free: 115.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00435/1.802, allocations: 3.629 MB / 0.9139 GB, free: 112 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005719/1.807, allocations: 0.7471 MB / 0.9147 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1522/1.96, allocations: 96.68 MB / 1.009 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008931/1.969, allocations: 4.844 MB / 1.014 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008365/1.977, allocations: 2.595 MB / 1.016 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006676/1.984, allocations: 3.073 MB / 1.019 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of SimCode: time 1.853e-06/1.984, allocations: 0 / 1.019 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3918/2.376, allocations: 130.4 MB / 1.147 GB, free: 87.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/2.376, allocations: 221.5 kB / 1.147 GB, free: 87.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.877/7.253, allocations: 0 / 1.147 GB, free: 87.16 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 & /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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches