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.001144/0.001144, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001465/0.001465, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2088/0.2088, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.001557/0.001557, allocations: 69.45 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01694/0.1436, allocations: 16.05 MB / 0.5031 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.1556, allocations: 5.441 MB / 0.5084 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003398/0.159, allocations: 111.6 kB / 0.5085 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009272/0.1683, allocations: 5.144 MB / 0.5135 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007056/0.1755, allocations: 2.634 MB / 0.5161 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.179, allocations: 1.388 MB / 0.5174 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.1899, allocations: 7.603 MB / 0.5249 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2608/0.4507, allocations: 7.028 MB / 0.5317 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005627/0.4564, allocations: 2.779 MB / 0.5344 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008398/0.4648, allocations: 3.769 MB / 0.5381 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003069/0.4679, allocations: 0.6361 MB / 0.5387 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/0.4731, allocations: 1.781 MB / 0.5405 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007758/0.4809, allocations: 3.396 MB / 0.5438 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01032/0.4912, allocations: 3.824 MB / 0.5475 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0182/0.5094, allocations: 12.24 MB / 0.5595 GB, free: 2.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5095, allocations: 0 / 0.5595 GB, free: 2.852 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5095, allocations: 0 / 0.5595 GB, free: 2.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004877/0.51, allocations: 1.25 kB / 0.5595 GB, free: 2.852 MB / 414.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.03031/0.5403, allocations: 8.225 MB / 0.5675 GB, free: 13.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5404, allocations: 15.77 kB / 0.5675 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004399/0.5448, allocations: 1.153 MB / 0.5687 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05365/0.5984, allocations: 8.368 MB / 0.5768 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01784/0.6163, allocations: 6.675 MB / 0.5833 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004296/0.6168, allocations: 377.6 kB / 0.5837 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002894/0.6197, allocations: 0.5139 MB / 0.5842 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03563/0.6554, allocations: 15.41 MB / 0.5993 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002233/0.6556, allocations: 65.22 kB / 0.5993 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008422/0.6565, allocations: 237.4 kB / 0.5996 GB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003795/0.6603, allocations: 2.543 MB / 0.602 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02786/0.6882, allocations: 12.88 MB / 0.6146 GB, free: 3.293 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08422/0.7724, allocations: 56.97 MB / 0.6702 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/0.7909, allocations: 6.301 MB / 0.6764 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004637/0.7956, allocations: 3.315 MB / 0.6796 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01815/0.8138, allocations: 11.3 MB / 0.6907 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.8139, allocations: 59.19 kB / 0.6907 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=245): time 5.099e-06/0.8139, allocations: 0 / 0.6907 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=338): time 0.1427/0.9566, allocations: 40.08 MB / 0.7299 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.9567, allocations: 243.8 kB / 0.7301 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/0.9682, allocations: 5.786 MB / 0.7358 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009805/0.9692, allocations: 77.7 kB / 0.7358 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006313/0.9756, allocations: 4.455 MB / 0.7402 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002955/0.9786, allocations: 1.238 MB / 0.7414 GB, free: 236 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006471/0.9851, allocations: 1.63 MB / 0.743 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9853, allocations: 305.1 kB / 0.7433 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006635/0.9919, allocations: 3.768 MB / 0.747 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01014/1.002, allocations: 8.297 MB / 0.7551 GB, free: 60 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.27/1.272, allocations: 13 MB / 0.7677 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/1.272, allocations: 45.06 kB / 0.7678 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.03141/1.304, allocations: 15.46 MB / 0.7829 GB, free: 185 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/1.304, allocations: 74.78 kB / 0.783 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001985/1.304, allocations: 157.3 kB / 0.7831 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/1.317, allocations: 4.094 MB / 0.7871 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005728/1.323, allocations: 1.796 MB / 0.7889 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02489/1.348, allocations: 20.92 MB / 0.8093 GB, free: 171.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006645/1.354, allocations: 0.4924 MB / 0.8098 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/1.356, allocations: 471.5 kB / 0.8102 GB, free: 171 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.00535/1.361, allocations: 3.12 MB / 0.8133 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.362, allocations: 0.5279 MB / 0.8138 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/1.38, allocations: 9.609 MB / 0.8232 GB, free: 160.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/1.38, allocations: 40 kB / 0.8232 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/1.38, allocations: 12 kB / 0.8232 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.364e-05/1.38, allocations: 15.94 kB / 0.8232 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03621/1.416, allocations: 19.64 MB / 0.8424 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.527e-05/1.416, allocations: 4 kB / 0.8424 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.419, allocations: 499.9 kB / 0.8429 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/1.43, allocations: 3.649 MB / 0.8465 GB, free: 136.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006198/1.431, allocations: 67.98 kB / 0.8465 GB, free: 136.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/1.452, allocations: 18.41 MB / 0.8645 GB, free: 117.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.452, allocations: 11.94 kB / 0.8645 GB, free: 117.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/1.474, allocations: 14.22 MB / 0.8784 GB, free: 103.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00291/1.477, allocations: 1.134 MB / 0.8795 GB, free: 102.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008225/1.478, allocations: 64.69 kB / 0.8796 GB, free: 102.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/1.48, allocations: 220.7 kB / 0.8798 GB, free: 101.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006062/1.481, allocations: 228.2 kB / 0.88 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.481, allocations: 84 kB / 0.8801 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004672/1.486, allocations: 3.683 MB / 0.8837 GB, free: 97.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/1.486, allocations: 0 / 0.8837 GB, free: 97.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007165/1.493, allocations: 1.712 MB / 0.8854 GB, free: 96.2 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.02179/1.515, allocations: 14.96 MB / 0.9 GB, free: 81.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.526, allocations: 9.261 MB / 0.909 GB, free: 71.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/1.526, allocations: 2.844 kB / 0.909 GB, free: 71.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004069/1.53, allocations: 3.634 MB / 0.9126 GB, free: 68.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/1.534, allocations: 0.7697 MB / 0.9133 GB, free: 67.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3939/1.928, allocations: 78.63 MB / 0.9901 GB, free: 207.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006985/1.935, allocations: 4.837 MB / 0.9948 GB, free: 207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005689/1.941, allocations: 2.604 MB / 0.9974 GB, free: 206.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003976/1.945, allocations: 3.076 MB / 1 GB, free: 206.3 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/1.945, allocations: 0 / 1 GB, free: 206.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1729/2.118, allocations: 130.7 MB / 1.128 GB, free: 92.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.62/40.73, allocations: 3.984 kB / 1.128 GB, free: 92.48 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