Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 220.2 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.92 MB / 361.6 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 79.88 kB / 0.497 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3382, allocations: 66.08 MB / 0.5615 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01891/0.3571, allocations: 16.08 MB / 0.5772 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.3697, allocations: 5.507 MB / 0.5826 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003708/0.3734, allocations: 131.3 kB / 0.5827 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01042/0.3839, allocations: 5.195 MB / 0.5878 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006886/0.3908, allocations: 2.676 MB / 0.5904 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.3939, allocations: 1.388 MB / 0.5917 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0131/0.407, allocations: 8.266 MB / 0.5998 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008581/0.4155, allocations: 5.208 MB / 0.6049 GB, free: 7.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006082/0.4216, allocations: 2.82 MB / 0.6077 GB, free: 4.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006961/0.4286, allocations: 4.02 MB / 0.6116 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001858/0.4304, allocations: 0.6367 MB / 0.6122 GB, free: 176 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004/0.4344, allocations: 1.83 MB / 0.614 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004256/0.4387, allocations: 3.448 MB / 0.6174 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005796/0.4445, allocations: 3.78 MB / 0.621 GB, free: 7.078 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.4608, allocations: 12.19 MB / 0.6329 GB, free: 10.85 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4608, allocations: 3.938 kB / 0.6329 GB, free: 10.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4609, allocations: 0 / 0.6329 GB, free: 10.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003954/0.4612, allocations: 0 / 0.6329 GB, free: 10.84 MB / 478.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.02284/0.4841, allocations: 8.294 MB / 0.641 GB, free: 2.473 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4841, allocations: 8.031 kB / 0.6411 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002246/0.4844, allocations: 193.8 kB / 0.6412 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002751/0.4871, allocations: 1.156 MB / 0.6424 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05721/0.5443, allocations: 8.406 MB / 0.6506 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01422/0.5585, allocations: 5.796 MB / 0.6562 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004736/0.559, allocations: 385.8 kB / 0.6566 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.561, allocations: 0.5192 MB / 0.6571 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0334/0.5944, allocations: 15.42 MB / 0.6722 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002872/0.5947, allocations: 67.52 kB / 0.6722 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001679/0.5964, allocations: 235.8 kB / 0.6725 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004428/0.6008, allocations: 2.544 MB / 0.6749 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02844/0.6293, allocations: 12.9 MB / 0.6876 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3722/1.001, allocations: 56.89 MB / 0.7431 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/1.017, allocations: 5.657 MB / 0.7486 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003333/1.021, allocations: 3.114 MB / 0.7517 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/1.034, allocations: 9.739 MB / 0.7612 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.034, allocations: 68.14 kB / 0.7612 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 4.979e-06/1.034, allocations: 0 / 0.7612 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=339): time 0.1217/1.156, allocations: 39.95 MB / 0.8003 GB, free: 79.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/1.156, allocations: 235.9 kB / 0.8005 GB, free: 79.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006421/1.162, allocations: 5.74 MB / 0.8061 GB, free: 73.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007339/1.163, allocations: 77.7 kB / 0.8062 GB, free: 73.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.165, allocations: 4.619 MB / 0.8107 GB, free: 69.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002333/1.168, allocations: 1.306 MB / 0.812 GB, free: 67.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002633/1.17, allocations: 1.636 MB / 0.8136 GB, free: 66.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/1.17, allocations: 301.1 kB / 0.8138 GB, free: 65.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004831/1.175, allocations: 3.776 MB / 0.8175 GB, free: 62.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006495/1.182, allocations: 8.309 MB / 0.8256 GB, free: 51.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.194, allocations: 13.02 MB / 0.8384 GB, free: 36.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/1.194, allocations: 44 kB / 0.8384 GB, free: 36.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.02713/1.221, allocations: 15.46 MB / 0.8535 GB, free: 21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/1.221, allocations: 72 kB / 0.8536 GB, free: 20.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/1.221, allocations: 160.5 kB / 0.8537 GB, free: 20.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/1.233, allocations: 4.1 MB / 0.8577 GB, free: 16.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006514/1.24, allocations: 1.801 MB / 0.8595 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02848/1.268, allocations: 20.83 MB / 0.8798 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007535/1.276, allocations: 0.4917 MB / 0.8803 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001624/1.277, allocations: 467.9 kB / 0.8807 GB, free: 8.969 MB / 0.5762 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 (967): * Single equations (assignments): 963 * 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.00662/1.284, allocations: 3.115 MB / 0.8838 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.285, allocations: 0.5626 MB / 0.8843 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02161/1.307, allocations: 9.583 MB / 0.8937 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.694e-05/1.307, allocations: 35.94 kB / 0.8937 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.161e-05/1.307, allocations: 16 kB / 0.8937 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.117e-05/1.307, allocations: 11.95 kB / 0.8938 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04271/1.35, allocations: 19.56 MB / 0.9129 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/1.35, allocations: 12.03 kB / 0.9129 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/1.352, allocations: 0.4953 MB / 0.9134 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01307/1.366, allocations: 3.659 MB / 0.9169 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007629/1.366, allocations: 63.98 kB / 0.917 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0301/1.396, allocations: 18.34 MB / 0.9349 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/1.396, allocations: 11.94 kB / 0.9349 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02782/1.424, allocations: 14.23 MB / 0.9488 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/1.426, allocations: 0.5195 MB / 0.9493 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.427, allocations: 63.98 kB / 0.9494 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/1.431, allocations: 223.7 kB / 0.9496 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008018/1.431, allocations: 231.2 kB / 0.9498 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002738/1.432, allocations: 91.98 kB / 0.9499 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006032/1.438, allocations: 3.643 MB / 0.9535 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.438, allocations: 0 / 0.9535 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007284/1.445, allocations: 1.686 MB / 0.9551 GB, free: 12.3 MB / 0.6544 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 (257): * Single equations (assignments): 253 * 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.02898/1.474, allocations: 14.98 MB / 0.9697 GB, free: 13.13 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01629/1.49, allocations: 8.846 MB / 0.9784 GB, free: 4.277 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/1.49, allocations: 0 / 0.9784 GB, free: 4.277 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005713/1.496, allocations: 3.324 MB / 0.9816 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/1.5, allocations: 0.7814 MB / 0.9824 GB, free: 172 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3756/1.876, allocations: 78.7 MB / 1.059 GB, free: 214.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004811/1.881, allocations: 4.827 MB / 1.064 GB, free: 209.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005308/1.886, allocations: 2.596 MB / 1.066 GB, free: 207.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004452/1.891, allocations: 3.081 MB / 1.069 GB, free: 204.1 MB / 0.6856 GB Notification: Performance of SimCode: time 2.605e-06/1.891, allocations: 8 kB / 1.069 GB, free: 204.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.175/2.066, allocations: 132.5 MB / 1.199 GB, free: 72.21 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.91/30.98, allocations: 0 / 1.199 GB, free: 72.21 MB / 0.6856 GB " [Timeout remaining time 629] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 36.49711401399691]