Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009353/0.0009353, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9558/0.9558, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2418/0.2418, allocations: 32.8 MB / 294.3 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.176e-05, allocations: 6.25 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01163/0.01165, allocations: 15.43 MB / 391.4 MB, free: 5.164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009072/0.02072, allocations: 5.378 MB / 396.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.02224, allocations: 131.3 kB / 396.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005107/0.02735, allocations: 5.506 MB / 402.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.03117, allocations: 2.768 MB / 405.2 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.03304, allocations: 1.567 MB / 406.8 MB, free: 5.766 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006933/0.03997, allocations: 9.359 MB / 416.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/0.04448, allocations: 6.142 MB / 422.3 MB, free: 6.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003557/0.04804, allocations: 4.273 MB / 426.6 MB, free: 1.879 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003681/0.05172, allocations: 4.264 MB / 430.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006419/0.05236, allocations: 0.6523 MB / 431.5 MB, free: 12.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.05431, allocations: 1.736 MB / 433.2 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002045/0.05636, allocations: 3.616 MB / 436.8 MB, free: 7.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001999/0.05836, allocations: 2.271 MB / 439.1 MB, free: 5.312 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1716/0.2299, allocations: 7.563 MB / 446.7 MB, free: 67.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2299, allocations: 0 / 446.7 MB, free: 67.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2299, allocations: 0 / 446.7 MB, free: 67.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003051/0.2302, allocations: 5.844 kB / 446.7 MB, free: 67.95 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.009997/0.2402, allocations: 8.598 MB / 455.3 MB, free: 64.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2403, allocations: 8.438 kB / 455.3 MB, free: 64.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00757/0.2478, allocations: 3.764 MB / 459 MB, free: 64.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005171/0.253, allocations: 4.454 MB / 463.5 MB, free: 63.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.2532, allocations: 381.7 kB / 463.9 MB, free: 63.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006121/0.2538, allocations: 0.5077 MB / 464.4 MB, free: 63.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.2647, allocations: 9.474 MB / 473.8 MB, free: 59.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/0.2649, allocations: 61.56 kB / 473.9 MB, free: 59.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004291/0.2653, allocations: 233.4 kB / 474.1 MB, free: 59.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002202/0.2675, allocations: 2.551 MB / 476.7 MB, free: 59.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.2785, allocations: 5.295 MB / 482 MB, free: 58.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03582/0.3143, allocations: 59.37 MB / 0.5287 GB, free: 28.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007783/0.3221, allocations: 4.042 MB / 0.5326 GB, free: 27.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.3234, allocations: 1.111 MB / 0.5337 GB, free: 27.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008332/0.3317, allocations: 6.954 MB / 0.5405 GB, free: 21.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3318, allocations: 65.8 kB / 0.5405 GB, free: 21.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 4.399e-06/0.3318, allocations: 0 / 0.5405 GB, free: 21.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=343): time 0.05761/0.3894, allocations: 28.08 MB / 0.568 GB, free: 9.719 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.3895, allocations: 242.1 kB / 0.5682 GB, free: 9.434 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006049/0.3955, allocations: 4.885 MB / 0.573 GB, free: 4.555 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002279/0.3957, allocations: 77.7 kB / 0.573 GB, free: 4.473 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002823/0.3986, allocations: 4.71 MB / 0.5776 GB, free: 15.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.3996, allocations: 1.35 MB / 0.579 GB, free: 14.47 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001869/0.4015, allocations: 1.828 MB / 0.5807 GB, free: 12.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4016, allocations: 484.5 kB / 0.5812 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.4038, allocations: 1.34 MB / 0.5825 GB, free: 10.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005608/0.4094, allocations: 8.154 MB / 0.5905 GB, free: 15.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008971/0.4184, allocations: 10.54 MB / 0.6008 GB, free: 2.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.464e-05/0.4185, allocations: 48 kB / 0.6008 GB, free: 2.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.1899/0.6083, allocations: 10.19 MB / 0.6108 GB, free: 118.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.872e-05/0.6084, allocations: 70.16 kB / 0.6108 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/0.6086, allocations: 157.7 kB / 0.611 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007429/0.616, allocations: 3.187 MB / 0.6141 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003489/0.6195, allocations: 1.889 MB / 0.6159 GB, free: 118.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.6307, allocations: 8.317 MB / 0.6241 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/0.635, allocations: 0.5895 MB / 0.6246 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005218/0.6355, allocations: 481.2 kB / 0.6251 GB, free: 116.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1027): * Single equations (assignments): 1023 * 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.001877/0.6374, allocations: 0.8215 MB / 0.6259 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000742/0.6382, allocations: 0.6022 MB / 0.6265 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/0.6483, allocations: 5.409 MB / 0.6318 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.205e-05/0.6483, allocations: 39.44 kB / 0.6318 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.857e-05/0.6483, allocations: 14.02 kB / 0.6318 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.874e-05/0.6484, allocations: 16.62 kB / 0.6318 GB, free: 115.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/0.6734, allocations: 12.67 MB / 0.6442 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.6734, allocations: 7.031 kB / 0.6442 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.6746, allocations: 0.4905 MB / 0.6447 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006664/0.6813, allocations: 2.792 MB / 0.6474 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/0.6815, allocations: 65.8 kB / 0.6475 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009236/0.6907, allocations: 6.74 MB / 0.6541 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6907, allocations: 10.88 kB / 0.6541 GB, free: 109.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.7015, allocations: 6.99 MB / 0.6609 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/0.7029, allocations: 0.5279 MB / 0.6614 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/0.7033, allocations: 64.78 kB / 0.6615 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.7048, allocations: 298.5 kB / 0.6618 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003765/0.7052, allocations: 241.2 kB / 0.662 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.7054, allocations: 99.98 kB / 0.6621 GB, free: 106.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00262/0.708, allocations: 2.189 MB / 0.6642 GB, free: 104.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.708, allocations: 4.031 kB / 0.6642 GB, free: 104.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005468/0.7135, allocations: 1.96 MB / 0.6661 GB, free: 102.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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.0006295/0.7141, allocations: 274.5 kB / 0.6664 GB, free: 102.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007015/0.7211, allocations: 5.344 MB / 0.6716 GB, free: 96.99 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.7211, allocations: 0.875 kB / 0.6716 GB, free: 96.99 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.7232, allocations: 1.892 MB / 0.6735 GB, free: 95.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.7253, allocations: 0.6739 MB / 0.6741 GB, free: 94.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.7411, allocations: 12.72 MB / 0.6866 GB, free: 81.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.743, allocations: 2.005 MB / 0.6885 GB, free: 79.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003982/0.747, allocations: 2.124 MB / 0.6906 GB, free: 77.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009827/0.748, allocations: 336.4 kB / 0.6909 GB, free: 77.03 MB / 474.7 MB Notification: Performance of SimCode: time 2.084e-06/0.748, allocations: 0 / 0.6909 GB, free: 77.03 MB / 474.7 MB Notification: Performance of Templates: time 0.0942/0.8422, allocations: 74.32 MB / 0.7635 GB, free: 3.371 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.644840549211949]