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.0008992/0.0008992, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001313/0.001313, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8866/0.8866, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2428/0.2428, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.418e-05, allocations: 9.094 kB / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.1793/0.1793, allocations: 13.89 MB / 456 MB, free: 36.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006325/0.1857, allocations: 5.242 MB / 461.3 MB, free: 32.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008733/0.1865, allocations: 132.3 kB / 461.4 MB, free: 32.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003669/0.1902, allocations: 5.238 MB / 466.7 MB, free: 30.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.1931, allocations: 2.759 MB / 469.4 MB, free: 29.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1946, allocations: 1.55 MB / 471 MB, free: 28.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005121/0.1997, allocations: 9.347 MB / 480.3 MB, free: 24.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004056/0.2038, allocations: 5.962 MB / 486.3 MB, free: 22.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004241/0.208, allocations: 4.247 MB / 490.5 MB, free: 20.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005175/0.2132, allocations: 4.129 MB / 494.7 MB, free: 19.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009992/0.2142, allocations: 0.6495 MB / 495.3 MB, free: 19.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.2183, allocations: 1.744 MB / 497 MB, free: 18.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005875/0.2242, allocations: 3.611 MB / 0.4889 GB, free: 17.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006413/0.2306, allocations: 2.331 MB / 0.4912 GB, free: 16.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.2423, allocations: 12.43 MB / 0.5033 GB, free: 7.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2423, allocations: 0 / 0.5033 GB, free: 7.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2423, allocations: 0 / 0.5033 GB, free: 7.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004723/0.2428, allocations: 0 / 0.5033 GB, free: 7.457 MB / 410.7 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.01713/0.2599, allocations: 8.432 MB / 0.5116 GB, free: 14.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.26, allocations: 8.031 kB / 0.5116 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001847/0.2618, allocations: 1.152 MB / 0.5127 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02887/0.2907, allocations: 9.023 MB / 0.5215 GB, free: 4.738 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/0.3011, allocations: 5.321 MB / 0.5267 GB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.3014, allocations: 378.2 kB / 0.5271 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/0.3032, allocations: 0.5122 MB / 0.5276 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.3268, allocations: 15.55 MB / 0.5428 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002257/0.327, allocations: 73.38 kB / 0.5428 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008976/0.3279, allocations: 231.8 kB / 0.5431 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002564/0.3305, allocations: 2.548 MB / 0.5455 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/0.3512, allocations: 12.87 MB / 0.5581 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06272/0.4139, allocations: 54.26 MB / 0.6111 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.4247, allocations: 5.844 MB / 0.6168 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/0.4279, allocations: 3.117 MB / 0.6199 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01356/0.4415, allocations: 9.451 MB / 0.6291 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.4415, allocations: 68.5 kB / 0.6292 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 6.282e-06/0.4415, allocations: 0 / 0.6292 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of matching and sorting (n=338): time 0.2874/0.7289, allocations: 40.94 MB / 0.6691 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/0.729, allocations: 245.7 kB / 0.6694 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008751/0.7378, allocations: 6.545 MB / 0.6758 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008935/0.7386, allocations: 80.42 kB / 0.6758 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002578/0.7412, allocations: 4.572 MB / 0.6803 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001646/0.7429, allocations: 1.28 MB / 0.6815 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002505/0.7454, allocations: 1.615 MB / 0.6831 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.7454, allocations: 306 kB / 0.6834 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/0.7493, allocations: 3.782 MB / 0.6871 GB, free: 130 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005311/0.7546, allocations: 8.374 MB / 0.6953 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.7648, allocations: 13.01 MB / 0.708 GB, free: 110 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/0.7649, allocations: 47.94 kB / 0.708 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1067) (initialization): time 0.02263/0.7876, allocations: 15.44 MB / 0.7231 GB, free: 96.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.422e-05/0.7876, allocations: 79.92 kB / 0.7232 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.7878, allocations: 157.8 kB / 0.7233 GB, free: 96.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007197/0.795, allocations: 4.092 MB / 0.7273 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004072/0.799, allocations: 1.797 MB / 0.7291 GB, free: 90.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/0.8166, allocations: 20.67 MB / 0.7493 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006848/0.8235, allocations: 0.5775 MB / 0.7498 GB, free: 69.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/0.825, allocations: 464 kB / 0.7503 GB, free: 68.73 MB / 0.5261 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.005411/0.8304, allocations: 3.126 MB / 0.7533 GB, free: 65.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/0.8317, allocations: 0.5519 MB / 0.7539 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/0.8429, allocations: 9.56 MB / 0.7632 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.013e-05/0.843, allocations: 36 kB / 0.7632 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/0.843, allocations: 19.94 kB / 0.7633 GB, free: 55.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/0.843, allocations: 15.94 kB / 0.7633 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02724/0.8703, allocations: 18.91 MB / 0.7817 GB, free: 36.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.8703, allocations: 4 kB / 0.7817 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.8718, allocations: 495.3 kB / 0.7822 GB, free: 35.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006309/0.8781, allocations: 3.651 MB / 0.7858 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005211/0.8786, allocations: 67.81 kB / 0.7858 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/0.8945, allocations: 18.21 MB / 0.8036 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.8945, allocations: 7.938 kB / 0.8036 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01569/0.9102, allocations: 14.19 MB / 0.8175 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/0.9125, allocations: 0.6094 MB / 0.8181 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001858/0.9143, allocations: 56.7 kB / 0.8181 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0029/0.9172, allocations: 303.5 kB / 0.8184 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007363/0.918, allocations: 238.1 kB / 0.8187 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/0.9182, allocations: 87.98 kB / 0.8187 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005924/0.9241, allocations: 4.061 MB / 0.8227 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9241, allocations: 0 / 0.8227 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00805/0.9321, allocations: 1.898 MB / 0.8246 GB, free: 8.184 MB / 0.5417 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.2256/1.158, allocations: 14.94 MB / 0.8392 GB, free: 162.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009328/1.167, allocations: 8.828 MB / 0.8478 GB, free: 161 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/1.167, allocations: 0 / 0.8478 GB, free: 161 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002937/1.17, allocations: 3.331 MB / 0.851 GB, free: 159.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/1.174, allocations: 0.7763 MB / 0.8518 GB, free: 159.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09554/1.269, allocations: 80.35 MB / 0.9303 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005224/1.274, allocations: 4.331 MB / 0.9345 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005237/1.28, allocations: 2.61 MB / 0.937 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005017/1.285, allocations: 3.08 MB / 0.94 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.963e-06/1.285, allocations: 4 kB / 0.94 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3254/1.61, allocations: 133.9 MB / 1.071 GB, free: 169.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/13.25, allocations: 7.5 kB / 1.071 GB, free: 169.2 MB / 0.573 GB " [Timeout remaining time 647] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/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: 16.11160095781088]