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.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.00144/0.00144, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.004724/0.004724, allocations: 167.3 kB / 24.83 MB, free: 9.305 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.961/0.961, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1356/0.1356, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.763e-05, allocations: 6.312 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01085/0.01086, allocations: 15.11 MB / 364 MB, free: 10 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.02133, allocations: 5.328 MB / 369.3 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.02476, allocations: 127.4 kB / 369.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006028/0.03078, allocations: 5.44 MB / 374.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008485/0.03927, allocations: 2.826 MB / 377.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.04227, allocations: 1.575 MB / 379.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.05311, allocations: 8.606 MB / 387.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.06557, allocations: 6.174 MB / 394.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/0.07841, allocations: 5.271 MB / 399.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007687/0.0861, allocations: 4.244 MB / 403.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002832/0.08893, allocations: 0.6445 MB / 404.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003922/0.09285, allocations: 1.748 MB / 406 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004893/0.09775, allocations: 3.639 MB / 409.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005563/0.1033, allocations: 2.283 MB / 411.9 MB, free: 9.906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.116, allocations: 7.627 MB / 419.5 MB, free: 2.254 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.116, allocations: 0 / 419.5 MB, free: 2.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.116, allocations: 0 / 419.5 MB, free: 2.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004323/0.1164, allocations: 3.938 kB / 419.5 MB, free: 2.25 MB / 346.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.01695/0.1334, allocations: 8.148 MB / 427.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.1334, allocations: 8.031 kB / 427.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008668/0.1421, allocations: 2.705 MB / 430.4 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007426/0.1495, allocations: 3.795 MB / 434.2 MB, free: 3.418 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.1498, allocations: 386.2 kB / 434.6 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.1513, allocations: 0.5042 MB / 435.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2041/0.3554, allocations: 8.238 MB / 443.3 MB, free: 78.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003152/0.3557, allocations: 63.55 kB / 443.4 MB, free: 78.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005871/0.3563, allocations: 231.2 kB / 443.6 MB, free: 78.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00248/0.3588, allocations: 2.314 MB / 445.9 MB, free: 78.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/0.369, allocations: 3.807 MB / 449.7 MB, free: 78.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05216/0.4212, allocations: 58.84 MB / 0.4966 GB, free: 22.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007154/0.4283, allocations: 2.889 MB / 0.4995 GB, free: 19.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.4296, allocations: 0.8038 MB / 0.5003 GB, free: 19.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009468/0.4391, allocations: 7.128 MB / 0.5072 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/0.4391, allocations: 67.38 kB / 0.5073 GB, free: 12.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=229): time 4.568e-06/0.4391, allocations: 1.859 kB / 0.5073 GB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=313): time 0.03755/0.4767, allocations: 14.27 MB / 0.5212 GB, free: 14.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.4768, allocations: 239.7 kB / 0.5214 GB, free: 13.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005665/0.4824, allocations: 4.943 MB / 0.5263 GB, free: 9.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004618/0.4829, allocations: 73.7 kB / 0.5263 GB, free: 9.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003688/0.4866, allocations: 4.83 MB / 0.5311 GB, free: 4.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001601/0.4882, allocations: 1.252 MB / 0.5323 GB, free: 2.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001969/0.4902, allocations: 1.83 MB / 0.5341 GB, free: 1.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4903, allocations: 492.7 kB / 0.5345 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.492, allocations: 0.9457 MB / 0.5355 GB, free: 15.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005615/0.4976, allocations: 7.935 MB / 0.5432 GB, free: 4.613 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009278/0.5069, allocations: 9.635 MB / 0.5526 GB, free: 7.871 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002954/0.5072, allocations: 51.94 kB / 0.5527 GB, free: 7.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01788/0.5251, allocations: 7.446 MB / 0.5599 GB, free: 336 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.5252, allocations: 72 kB / 0.56 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002303/0.5254, allocations: 164 kB / 0.5602 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00571/0.5312, allocations: 1.47 MB / 0.5616 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005625/0.5368, allocations: 1.825 MB / 0.5634 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.5468, allocations: 5.467 MB / 0.5687 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006467/0.5533, allocations: 343.7 kB / 0.5691 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/0.5546, allocations: 408 kB / 0.5694 GB, free: 6.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * 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 (1031): * Single equations (assignments): 1027 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002998/0.5576, allocations: 0.8376 MB / 0.5703 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/0.559, allocations: 0.5787 MB / 0.5708 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006504/0.5655, allocations: 2.792 MB / 0.5736 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/0.5656, allocations: 32 kB / 0.5736 GB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.5656, allocations: 11.98 kB / 0.5736 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.5656, allocations: 15.95 kB / 0.5736 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/0.586, allocations: 9.627 MB / 0.583 GB, free: 8.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.586, allocations: 12 kB / 0.583 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.5872, allocations: 419.4 kB / 0.5834 GB, free: 7.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00387/0.5911, allocations: 1.233 MB / 0.5846 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003942/0.5915, allocations: 64 kB / 0.5847 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006648/0.5981, allocations: 4.277 MB / 0.5889 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/0.5981, allocations: 15.94 kB / 0.5889 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1882/0.7863, allocations: 4.46 MB / 0.5932 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002638/0.7889, allocations: 0.8058 MB / 0.594 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009579/0.7899, allocations: 67.41 kB / 0.5941 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.7914, allocations: 64.84 kB / 0.5941 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/0.7919, allocations: 244.3 kB / 0.5944 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.792, allocations: 76.47 kB / 0.5945 GB, free: 133 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002635/0.7946, allocations: 2.082 MB / 0.5965 GB, free: 132.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7946, allocations: 0 / 0.5965 GB, free: 132.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007455/0.8021, allocations: 1.779 MB / 0.5982 GB, free: 132.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (251): * Single equations (assignments): 247 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007351/0.8028, allocations: 287.4 kB / 0.5985 GB, free: 132.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006637/0.8095, allocations: 4.236 MB / 0.6026 GB, free: 132.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/0.8095, allocations: 2.062 kB / 0.6026 GB, free: 132.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.8114, allocations: 1.316 MB / 0.6039 GB, free: 132 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/0.8156, allocations: 0.6806 MB / 0.6046 GB, free: 131.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/0.8356, allocations: 12.23 MB / 0.6165 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/0.8383, allocations: 1.983 MB / 0.6185 GB, free: 126.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002808/0.8411, allocations: 0.7214 MB / 0.6192 GB, free: 126 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/0.8427, allocations: 0.8656 MB / 0.62 GB, free: 125.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/0.8427, allocations: 0 / 0.62 GB, free: 125.2 MB / 442.7 MB Notification: Performance of Templates: time 0.08608/0.9288, allocations: 64.59 MB / 0.6831 GB, free: 64.72 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.460256095044315]