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.001558/0.001559, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001875/0.001875, allocations: 191.6 kB / 17.19 MB, free: 5.602 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.567/1.567, allocations: 205.1 MB / 223.1 MB, free: 12.27 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.2259/0.2259, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001761/0.001762, allocations: 65.42 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1201, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01664/0.1368, allocations: 16.04 MB / 456.7 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.1508, allocations: 5.453 MB / 462.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003497/0.1544, allocations: 111.6 kB / 462.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009712/0.1642, allocations: 5.125 MB / 467.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007136/0.1713, allocations: 2.634 MB / 470 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.1746, allocations: 1.392 MB / 471.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01143/0.186, allocations: 7.592 MB / 479 MB, free: 348 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009483/0.1955, allocations: 7.059 MB / 486 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.2014, allocations: 2.773 MB / 488.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006462/0.2079, allocations: 3.759 MB / 492.6 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0029/0.2109, allocations: 0.6367 MB / 493.2 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005193/0.2161, allocations: 1.771 MB / 495 MB, free: 236 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004987/0.2211, allocations: 3.351 MB / 498.3 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006557/0.2277, allocations: 3.816 MB / 0.4904 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.2436, allocations: 11.94 MB / 0.502 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.2436, allocations: 4 kB / 0.502 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.2436, allocations: 4 kB / 0.502 GB, free: 13.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004444/0.2441, allocations: 0 / 0.502 GB, free: 13.05 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.02619/0.2703, allocations: 8.228 MB / 0.5101 GB, free: 4.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.2704, allocations: 11.89 kB / 0.5101 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003368/0.2738, allocations: 1.152 MB / 0.5112 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05718/0.331, allocations: 8.366 MB / 0.5194 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.3461, allocations: 6.576 MB / 0.5258 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004291/0.3465, allocations: 390 kB / 0.5262 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002457/0.349, allocations: 0.5113 MB / 0.5267 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3081/0.6572, allocations: 15.4 MB / 0.5417 GB, free: 77.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002702/0.6575, allocations: 63.83 kB / 0.5418 GB, free: 77.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008175/0.6583, allocations: 234.9 kB / 0.542 GB, free: 77.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004201/0.6625, allocations: 2.546 MB / 0.5445 GB, free: 76.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02554/0.6881, allocations: 12.88 MB / 0.5571 GB, free: 70.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07477/0.7629, allocations: 57.24 MB / 0.613 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01615/0.7791, allocations: 6.311 MB / 0.6191 GB, free: 6.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00375/0.7829, allocations: 3.318 MB / 0.6224 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01891/0.8018, allocations: 11.29 MB / 0.6334 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/0.8019, allocations: 64.5 kB / 0.6334 GB, free: 7.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 5.711e-06/0.8019, allocations: 0 / 0.6334 GB, free: 7.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=338): time 0.1483/0.9502, allocations: 40.07 MB / 0.6726 GB, free: 15.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.9504, allocations: 243.8 kB / 0.6728 GB, free: 14.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/0.9609, allocations: 5.778 MB / 0.6785 GB, free: 9.004 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007521/0.9617, allocations: 81.7 kB / 0.6785 GB, free: 8.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003642/0.9654, allocations: 4.454 MB / 0.6829 GB, free: 4.406 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001623/0.967, allocations: 1.24 MB / 0.6841 GB, free: 3.152 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00387/0.9709, allocations: 1.631 MB / 0.6857 GB, free: 1.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.971, allocations: 305.1 kB / 0.686 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005215/0.9762, allocations: 3.772 MB / 0.6897 GB, free: 13.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008501/0.9847, allocations: 8.292 MB / 0.6978 GB, free: 2.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01604/1.001, allocations: 13.01 MB / 0.7105 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.001, allocations: 44 kB / 0.7105 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.03271/1.034, allocations: 15.45 MB / 0.7256 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002341/1.034, allocations: 72.22 kB / 0.7257 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002902/1.034, allocations: 164 kB / 0.7258 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2563/1.291, allocations: 4.108 MB / 0.7298 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006152/1.297, allocations: 1.792 MB / 0.7316 GB, free: 168.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02936/1.326, allocations: 20.93 MB / 0.752 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006475/1.333, allocations: 498.9 kB / 0.7525 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/1.334, allocations: 468.4 kB / 0.753 GB, free: 161.6 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.005041/1.339, allocations: 3.128 MB / 0.756 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.341, allocations: 0.5279 MB / 0.7565 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/1.359, allocations: 9.615 MB / 0.7659 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.047e-05/1.359, allocations: 37.38 kB / 0.7659 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/1.359, allocations: 13.34 kB / 0.766 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.092e-05/1.359, allocations: 19.2 kB / 0.766 GB, free: 156.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03629/1.395, allocations: 19.75 MB / 0.7853 GB, free: 143.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/1.395, allocations: 8 kB / 0.7853 GB, free: 143.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.398, allocations: 0.4887 MB / 0.7857 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01107/1.409, allocations: 3.665 MB / 0.7893 GB, free: 139.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005734/1.409, allocations: 62.53 kB / 0.7894 GB, free: 139.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02148/1.431, allocations: 18.42 MB / 0.8074 GB, free: 121.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.431, allocations: 11.94 kB / 0.8074 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/1.453, allocations: 14.21 MB / 0.8213 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002777/1.456, allocations: 1.137 MB / 0.8224 GB, free: 106 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.457, allocations: 60 kB / 0.8224 GB, free: 106 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.46, allocations: 223.6 kB / 0.8226 GB, free: 105.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006781/1.461, allocations: 225.8 kB / 0.8229 GB, free: 105.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.461, allocations: 95.73 kB / 0.823 GB, free: 105.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004821/1.466, allocations: 3.675 MB / 0.8265 GB, free: 101.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.51e-07/1.466, allocations: 0 / 0.8265 GB, free: 101.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00954/1.475, allocations: 1.713 MB / 0.8282 GB, free: 100.1 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.02528/1.501, allocations: 14.95 MB / 0.8428 GB, free: 85.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02058/1.521, allocations: 12.62 MB / 0.8551 GB, free: 72.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/1.522, allocations: 0 / 0.8551 GB, free: 72.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005049/1.527, allocations: 3.636 MB / 0.8587 GB, free: 68.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/1.532, allocations: 0.7706 MB / 0.8594 GB, free: 68.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3677/1.899, allocations: 93.77 MB / 0.951 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006803/1.906, allocations: 4.84 MB / 0.9557 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00647/1.913, allocations: 2.595 MB / 0.9583 GB, free: 179.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004337/1.917, allocations: 3.076 MB / 0.9613 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.042e-06/1.917, allocations: 0 / 0.9613 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1786/2.096, allocations: 133.5 MB / 1.092 GB, free: 49.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/15.38, allocations: 7.562 kB / 1.092 GB, free: 49.46 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","/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