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.001544/0.001544, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001573/0.001573, allocations: 207.3 kB / 21.4 MB, free: 1.645 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.526/1.526, allocations: 227.4 MB / 251.6 MB, free: 64 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.2379/0.2379, allocations: 46.16 MB / 351.1 MB, free: 14.29 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.002218/0.002218, allocations: 76.42 kB / 490.2 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1354, allocations: 62.46 MB / 0.5397 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01769/0.1532, allocations: 15.98 MB / 0.5553 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.1652, allocations: 5.452 MB / 0.5606 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.1676, allocations: 107.7 kB / 0.5607 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009226/0.1768, allocations: 5.113 MB / 0.5657 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007703/0.1846, allocations: 2.587 MB / 0.5682 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.1883, allocations: 1.392 MB / 0.5696 GB, free: 5.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01396/0.2022, allocations: 8.236 MB / 0.5776 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009849/0.2121, allocations: 7.032 MB / 0.5845 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005882/0.218, allocations: 2.758 MB / 0.5872 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006727/0.2248, allocations: 3.747 MB / 0.5908 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00394/0.2288, allocations: 0.6328 MB / 0.5915 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006296/0.2351, allocations: 1.775 MB / 0.5932 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00529/0.2405, allocations: 3.305 MB / 0.5964 GB, free: 9.883 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007052/0.2475, allocations: 3.695 MB / 0.6 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3776/0.6251, allocations: 11.96 MB / 0.6117 GB, free: 24.24 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.6252, allocations: 0 / 0.6117 GB, free: 24.24 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6252, allocations: 0.9375 kB / 0.6117 GB, free: 24.24 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006764/0.6259, allocations: 0 / 0.6117 GB, free: 24.24 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.03362/0.6595, allocations: 8.089 MB / 0.6196 GB, free: 21.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6596, allocations: 9.25 kB / 0.6196 GB, free: 21.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/0.6785, allocations: 3.093 MB / 0.6226 GB, free: 20.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/0.6959, allocations: 5.058 MB / 0.6276 GB, free: 19.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007684/0.6967, allocations: 384 kB / 0.6279 GB, free: 19.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004713/0.7015, allocations: 0.5152 MB / 0.6284 GB, free: 19.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04543/0.7469, allocations: 15.52 MB / 0.6436 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005763/0.7476, allocations: 69.83 kB / 0.6437 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00418/0.7518, allocations: 236.8 kB / 0.6439 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00453/0.7563, allocations: 2.542 MB / 0.6464 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03037/0.7867, allocations: 13.11 MB / 0.6592 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/0.8907, allocations: 57.41 MB / 0.7152 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01986/0.9106, allocations: 6.392 MB / 0.7215 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006319/0.9169, allocations: 3.444 MB / 0.7248 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02463/0.9416, allocations: 11.66 MB / 0.7362 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.644e-05/0.9417, allocations: 56.56 kB / 0.7363 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=248): time 6.593e-06/0.9417, allocations: 0 / 0.7363 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=343): time 0.1538/1.095, allocations: 39.49 MB / 0.7748 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002819/1.096, allocations: 239.5 kB / 0.7751 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01415/1.11, allocations: 5.725 MB / 0.7807 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/1.111, allocations: 77.7 kB / 0.7807 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004717/1.116, allocations: 4.507 MB / 0.7851 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002159/1.118, allocations: 1.319 MB / 0.7864 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004182/1.122, allocations: 1.76 MB / 0.7881 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.122, allocations: 305.1 kB / 0.7884 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007127/1.13, allocations: 4.085 MB / 0.7924 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/1.141, allocations: 8.678 MB / 0.8009 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02019/1.161, allocations: 13.56 MB / 0.8141 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/1.161, allocations: 48 kB / 0.8142 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.04075/1.202, allocations: 16.41 MB / 0.8302 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/1.202, allocations: 76 kB / 0.8303 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/1.202, allocations: 156 kB / 0.8304 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01445/1.217, allocations: 4.292 MB / 0.8346 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007259/1.224, allocations: 1.895 MB / 0.8365 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3107/1.535, allocations: 21.55 MB / 0.8575 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006941/1.542, allocations: 0.5091 MB / 0.858 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/1.543, allocations: 486.8 kB / 0.8585 GB, free: 217.1 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.004885/1.548, allocations: 3.128 MB / 0.8615 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009593/1.549, allocations: 0.5437 MB / 0.8621 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01888/1.568, allocations: 10.1 MB / 0.8719 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.201e-05/1.568, allocations: 35.09 kB / 0.872 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.673e-05/1.568, allocations: 16.47 kB / 0.872 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.902e-05/1.568, allocations: 19.27 kB / 0.872 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03549/1.603, allocations: 20.06 MB / 0.8916 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/1.603, allocations: 7.625 kB / 0.8916 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/1.606, allocations: 0.4968 MB / 0.8921 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01191/1.618, allocations: 3.84 MB / 0.8958 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006601/1.619, allocations: 62.19 kB / 0.8959 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02398/1.643, allocations: 19.1 MB / 0.9145 GB, free: 181.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.858e-06/1.643, allocations: 19.53 kB / 0.9146 GB, free: 181.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02598/1.669, allocations: 14.95 MB / 0.9292 GB, free: 166.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/1.671, allocations: 0.6045 MB / 0.9298 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002205/1.673, allocations: 63.94 kB / 0.9298 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004115/1.677, allocations: 235.7 kB / 0.93 GB, free: 165.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/1.678, allocations: 229.9 kB / 0.9303 GB, free: 165.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004875/1.679, allocations: 95.38 kB / 0.9303 GB, free: 165.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006482/1.685, allocations: 3.596 MB / 0.9339 GB, free: 162 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/1.685, allocations: 7.281 kB / 0.9339 GB, free: 162 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.008959/1.694, allocations: 1.763 MB / 0.9356 GB, free: 160.2 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.001044/1.695, allocations: 253.8 kB / 0.9358 GB, free: 160 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01625/1.712, allocations: 9.854 MB / 0.9455 GB, free: 150.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/1.712, allocations: 5.875 kB / 0.9455 GB, free: 150.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006481/1.718, allocations: 3.78 MB / 0.9492 GB, free: 146.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007478/1.726, allocations: 0.7293 MB / 0.9499 GB, free: 145.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/1.754, allocations: 16.09 MB / 0.9656 GB, free: 129.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004768/1.759, allocations: 4.822 MB / 0.9703 GB, free: 124.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004981/1.764, allocations: 2.581 MB / 0.9728 GB, free: 122 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.765, allocations: 347.4 kB / 0.9731 GB, free: 121.6 MB / 0.6387 GB Notification: Performance of SimCode: time 6.42e-07/1.765, allocations: 4 kB / 0.9731 GB, free: 121.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.1068/1.872, allocations: 74.59 MB / 1.046 GB, free: 47.34 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.860534282401204]