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.001244/0.001244, allocations: 104.3 kB / 16.4 MB, free: 6.477 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.001391/0.001391, allocations: 189.5 kB / 17.34 MB, free: 5.754 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.513/1.513, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2232/0.2232, allocations: 43.53 MB / 314.1 MB, free: 464 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.001617/0.001617, allocations: 67.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1204, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01739/0.1378, allocations: 16.05 MB / 0.5031 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.149, allocations: 5.449 MB / 0.5084 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.1518, allocations: 107.7 kB / 0.5085 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008925/0.1608, allocations: 5.14 MB / 0.5135 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007389/0.1683, allocations: 2.638 MB / 0.5161 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.1716, allocations: 1.388 MB / 0.5174 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.1822, allocations: 7.596 MB / 0.5249 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3059/0.4881, allocations: 7.037 MB / 0.5317 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007594/0.4957, allocations: 2.783 MB / 0.5344 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/0.5072, allocations: 3.763 MB / 0.5381 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004963/0.5122, allocations: 0.6341 MB / 0.5387 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01008/0.5223, allocations: 1.783 MB / 0.5405 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01009/0.5325, allocations: 3.396 MB / 0.5438 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0123/0.5448, allocations: 3.821 MB / 0.5475 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02133/0.5662, allocations: 12.24 MB / 0.5595 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5663, allocations: 3.844 kB / 0.5595 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5663, allocations: 0 / 0.5595 GB, free: 2.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006015/0.5669, allocations: 0 / 0.5595 GB, free: 2.828 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.03084/0.5977, allocations: 8.228 MB / 0.5675 GB, free: 13.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.5978, allocations: 11.89 kB / 0.5675 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005694/0.6035, allocations: 1.156 MB / 0.5687 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05861/0.6621, allocations: 8.366 MB / 0.5768 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/0.6809, allocations: 6.677 MB / 0.5833 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.6814, allocations: 379.9 kB / 0.5837 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002831/0.6842, allocations: 0.5183 MB / 0.5842 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03865/0.7229, allocations: 15.41 MB / 0.5993 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003739/0.7233, allocations: 74.23 kB / 0.5993 GB, free: 2.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002365/0.7257, allocations: 235.8 kB / 0.5996 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004642/0.7303, allocations: 2.54 MB / 0.602 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02886/0.7592, allocations: 12.88 MB / 0.6146 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08396/0.8432, allocations: 56.96 MB / 0.6702 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/0.8607, allocations: 6.31 MB / 0.6764 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004438/0.8652, allocations: 3.315 MB / 0.6796 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02/0.8852, allocations: 11.3 MB / 0.6907 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.8853, allocations: 60.12 kB / 0.6907 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=245): time 4.629e-06/0.8853, allocations: 4 kB / 0.6907 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=338): time 0.1419/1.027, allocations: 40.08 MB / 0.7299 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/1.027, allocations: 243.8 kB / 0.7301 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009184/1.037, allocations: 5.782 MB / 0.7357 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008256/1.038, allocations: 80.44 kB / 0.7358 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004036/1.042, allocations: 4.462 MB / 0.7402 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002329/1.044, allocations: 1.242 MB / 0.7414 GB, free: 196 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002785/1.047, allocations: 1.628 MB / 0.743 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.047, allocations: 301.1 kB / 0.7433 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005453/1.052, allocations: 3.772 MB / 0.747 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008997/1.061, allocations: 8.296 MB / 0.7551 GB, free: 24 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2844/1.346, allocations: 12.99 MB / 0.7677 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/1.346, allocations: 45.38 kB / 0.7678 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.03648/1.382, allocations: 15.46 MB / 0.7829 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.614e-05/1.383, allocations: 72.25 kB / 0.783 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001923/1.383, allocations: 158.3 kB / 0.7831 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01294/1.396, allocations: 4.096 MB / 0.7871 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006209/1.402, allocations: 1.795 MB / 0.7889 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02681/1.429, allocations: 20.92 MB / 0.8093 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007634/1.436, allocations: 0.4926 MB / 0.8098 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/1.438, allocations: 465.2 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.006062/1.444, allocations: 3.13 MB / 0.8133 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.445, allocations: 0.5273 MB / 0.8138 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0185/1.464, allocations: 9.617 MB / 0.8232 GB, free: 160.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.669e-05/1.464, allocations: 36 kB / 0.8232 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.429e-05/1.464, allocations: 16 kB / 0.8232 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-05/1.464, allocations: 11.95 kB / 0.8232 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04085/1.505, allocations: 19.63 MB / 0.8424 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.996e-05/1.505, allocations: 4.781 kB / 0.8424 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/1.508, allocations: 0.4914 MB / 0.8429 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01167/1.519, allocations: 3.656 MB / 0.8465 GB, free: 136.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001064/1.52, allocations: 64 kB / 0.8465 GB, free: 136.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0223/1.543, allocations: 18.42 MB / 0.8645 GB, free: 117.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/1.543, allocations: 13.44 kB / 0.8645 GB, free: 117.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02419/1.567, allocations: 14.21 MB / 0.8784 GB, free: 103.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004201/1.571, allocations: 1.134 MB / 0.8795 GB, free: 102.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/1.573, allocations: 60.84 kB / 0.8796 GB, free: 102.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00376/1.576, allocations: 226.5 kB / 0.8798 GB, free: 101.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008498/1.577, allocations: 227 kB / 0.88 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/1.578, allocations: 92.86 kB / 0.8801 GB, free: 101.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006285/1.584, allocations: 3.679 MB / 0.8837 GB, free: 97.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.21e-07/1.584, allocations: 4 kB / 0.8837 GB, free: 97.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009366/1.593, allocations: 1.708 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.02422/1.618, allocations: 14.96 MB / 0.9 GB, free: 81.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01346/1.631, allocations: 9.264 MB / 0.909 GB, free: 71.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.631, allocations: 0 / 0.909 GB, free: 71.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004569/1.636, allocations: 3.628 MB / 0.9125 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.005078/1.641, allocations: 0.7726 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.388/2.029, allocations: 78.63 MB / 0.9901 GB, free: 208.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008815/2.038, allocations: 4.837 MB / 0.9948 GB, free: 207.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006555/2.044, allocations: 2.597 MB / 0.9974 GB, free: 207.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005247/2.05, allocations: 3.075 MB / 1 GB, free: 207 MB / 0.6075 GB Notification: Performance of SimCode: time 1.443e-06/2.05, allocations: 0 / 1 GB, free: 207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1913/2.241, allocations: 130.7 MB / 1.128 GB, free: 92.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.69/42.93, allocations: 11.97 kB / 1.128 GB, free: 92.51 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