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.001828/0.001828, allocations: 116.1 kB / 19.13 MB, free: 3.941 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.002188/0.002188, allocations: 204.9 kB / 22.08 MB, free: 0.9961 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.56/1.56, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.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.2513/0.2513, allocations: 46.17 MB / 351.8 MB, free: 14.28 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: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 88.98 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1229, allocations: 62.44 MB / 0.5403 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01815/0.1411, allocations: 15.98 MB / 0.5559 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.1545, allocations: 5.45 MB / 0.5613 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00305/0.1576, allocations: 107.7 kB / 0.5614 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.1682, allocations: 5.117 MB / 0.5664 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007479/0.1758, allocations: 2.575 MB / 0.5689 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003549/0.1793, allocations: 1.4 MB / 0.5702 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.1921, allocations: 8.241 MB / 0.5783 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.203, allocations: 7.036 MB / 0.5852 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005459/0.2085, allocations: 2.758 MB / 0.5879 GB, free: 3.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006885/0.2154, allocations: 3.747 MB / 0.5915 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00243/0.2179, allocations: 0.6328 MB / 0.5921 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004806/0.2227, allocations: 1.775 MB / 0.5939 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005192/0.2279, allocations: 3.305 MB / 0.5971 GB, free: 9.879 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007268/0.2352, allocations: 3.691 MB / 0.6007 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3231/0.5584, allocations: 11.96 MB / 0.6124 GB, free: 24.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.5584, allocations: 1.344 kB / 0.6124 GB, free: 24.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5584, allocations: 3.969 kB / 0.6124 GB, free: 24.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006159/0.5591, allocations: 0.9688 kB / 0.6124 GB, free: 24.68 MB / 462.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.0303/0.5894, allocations: 8.083 MB / 0.6203 GB, free: 21.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.5894, allocations: 15.16 kB / 0.6203 GB, free: 21.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/0.6072, allocations: 3.092 MB / 0.6233 GB, free: 21.17 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01478/0.622, allocations: 5.056 MB / 0.6282 GB, free: 20.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/0.6226, allocations: 382.1 kB / 0.6286 GB, free: 20.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003536/0.6262, allocations: 0.5176 MB / 0.6291 GB, free: 20.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0351/0.6613, allocations: 15.52 MB / 0.6443 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002678/0.6616, allocations: 69.27 kB / 0.6443 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001887/0.6635, allocations: 237.9 kB / 0.6446 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003634/0.6671, allocations: 2.544 MB / 0.647 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0271/0.6943, allocations: 13.11 MB / 0.6598 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08968/0.784, allocations: 57.41 MB / 0.7159 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/0.8034, allocations: 6.397 MB / 0.7222 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006155/0.8096, allocations: 3.438 MB / 0.7255 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02517/0.8348, allocations: 11.67 MB / 0.7369 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.478e-05/0.835, allocations: 61.33 kB / 0.737 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 5.791e-06/0.835, allocations: 0 / 0.737 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1541/0.9891, allocations: 39.47 MB / 0.7755 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/0.9894, allocations: 251.6 kB / 0.7757 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01582/1.005, allocations: 5.714 MB / 0.7813 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/1.007, allocations: 77.7 kB / 0.7814 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005721/1.012, allocations: 4.514 MB / 0.7858 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002777/1.015, allocations: 1.312 MB / 0.7871 GB, free: 84 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00827/1.023, allocations: 1.761 MB / 0.7888 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000225/1.024, allocations: 303.8 kB / 0.7891 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00935/1.033, allocations: 4.097 MB / 0.7931 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01525/1.048, allocations: 8.672 MB / 0.8016 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0226/1.071, allocations: 13.57 MB / 0.8148 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002266/1.071, allocations: 44 kB / 0.8149 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04522/1.117, allocations: 16.42 MB / 0.8309 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/1.117, allocations: 72 kB / 0.831 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003476/1.117, allocations: 160 kB / 0.8311 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01588/1.133, allocations: 4.271 MB / 0.8353 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007452/1.141, allocations: 1.907 MB / 0.8371 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3974/1.538, allocations: 21.55 MB / 0.8582 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007788/1.546, allocations: 0.5103 MB / 0.8587 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/1.548, allocations: 485.7 kB / 0.8592 GB, free: 217 MB / 0.6387 GB 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 (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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006578/1.554, allocations: 3.13 MB / 0.8622 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.556, allocations: 0.5432 MB / 0.8627 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/1.576, allocations: 10.11 MB / 0.8726 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/1.576, allocations: 35.56 kB / 0.8727 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.753e-05/1.576, allocations: 14.84 kB / 0.8727 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/1.576, allocations: 19.09 kB / 0.8727 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03877/1.615, allocations: 20.05 MB / 0.8923 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.731e-05/1.615, allocations: 11.44 kB / 0.8923 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/1.617, allocations: 0.5004 MB / 0.8928 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01196/1.629, allocations: 3.835 MB / 0.8965 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008367/1.63, allocations: 71.98 kB / 0.8966 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02375/1.654, allocations: 19.1 MB / 0.9152 GB, free: 181.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/1.654, allocations: 13.72 kB / 0.9152 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02757/1.682, allocations: 14.94 MB / 0.9298 GB, free: 166.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/1.684, allocations: 0.6056 MB / 0.9304 GB, free: 166.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002781/1.687, allocations: 63.94 kB / 0.9305 GB, free: 166.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004481/1.691, allocations: 238.4 kB / 0.9307 GB, free: 166 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/1.693, allocations: 225.5 kB / 0.9309 GB, free: 165.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007111/1.693, allocations: 91.98 kB / 0.931 GB, free: 165.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.007084/1.7, allocations: 3.6 MB / 0.9345 GB, free: 162.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.11e-07/1.7, allocations: 0 / 0.9345 GB, free: 162.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01076/1.711, allocations: 1.76 MB / 0.9362 GB, free: 160.4 MB / 0.6387 GB 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.001265/1.713, allocations: 254.9 kB / 0.9365 GB, free: 160.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.728, allocations: 9.865 MB / 0.9461 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.728, allocations: 0 / 0.9461 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005808/1.733, allocations: 3.786 MB / 0.9498 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007121/1.741, allocations: 0.7279 MB / 0.9505 GB, free: 145.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03121/1.772, allocations: 16.73 MB / 0.9669 GB, free: 128.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006329/1.778, allocations: 4.788 MB / 0.9715 GB, free: 124.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/1.78, allocations: 403.4 kB / 0.9719 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of SimCode: time 9.01e-07/1.78, allocations: 4 kB / 0.9719 GB, free: 123.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.4127/2.193, allocations: 123.4 MB / 1.092 GB, free: 207.8 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.366079693078063]