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.001422/0.001422, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00168/0.00168, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.541/1.541, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.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.2438/0.2438, allocations: 46.94 MB / 360.8 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.002469/0.002469, allocations: 79.88 kB / 0.4966 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3643, allocations: 66.08 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01883/0.3831, allocations: 13.9 MB / 0.5747 GB, free: 6.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.3978, allocations: 5.219 MB / 0.5798 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00396/0.4017, allocations: 131.3 kB / 0.58 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.4124, allocations: 4.973 MB / 0.5848 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008549/0.421, allocations: 2.685 MB / 0.5874 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.4248, allocations: 1.395 MB / 0.5888 GB, free: 7.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.4372, allocations: 8.255 MB / 0.5969 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007272/0.4444, allocations: 5.18 MB / 0.6019 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005453/0.4499, allocations: 2.816 MB / 0.6047 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007101/0.457, allocations: 3.781 MB / 0.6084 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002266/0.4592, allocations: 0.6367 MB / 0.609 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004833/0.4641, allocations: 1.658 MB / 0.6106 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005558/0.4696, allocations: 3.425 MB / 0.6139 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007417/0.4771, allocations: 2.785 MB / 0.6167 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01685/0.4939, allocations: 12.03 MB / 0.6284 GB, free: 14.8 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4939, allocations: 0 / 0.6284 GB, free: 14.8 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4939, allocations: 0 / 0.6284 GB, free: 14.8 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004069/0.4943, allocations: 4 kB / 0.6284 GB, free: 14.8 MB / 478.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.02244/0.5167, allocations: 8.006 MB / 0.6362 GB, free: 6.715 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5168, allocations: 12.03 kB / 0.6363 GB, free: 6.703 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/0.5316, allocations: 3.089 MB / 0.6393 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.5461, allocations: 4.987 MB / 0.6441 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004406/0.5466, allocations: 378.2 kB / 0.6445 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002638/0.5492, allocations: 0.5153 MB / 0.645 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03536/0.5846, allocations: 15.65 MB / 0.6603 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002918/0.5849, allocations: 63.53 kB / 0.6603 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008923/0.5857, allocations: 231.8 kB / 0.6606 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004297/0.59, allocations: 2.548 MB / 0.6631 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02961/0.6196, allocations: 13.08 MB / 0.6758 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08219/0.7018, allocations: 52.64 MB / 0.7272 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/0.7202, allocations: 5.702 MB / 0.7328 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3242/1.044, allocations: 3.228 MB / 0.736 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01479/1.059, allocations: 9.244 MB / 0.745 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/1.059, allocations: 65.77 kB / 0.745 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=248): time 5.49e-06/1.059, allocations: 0 / 0.745 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=343): time 0.1263/1.185, allocations: 39.09 MB / 0.7832 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/1.186, allocations: 247.9 kB / 0.7835 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008694/1.194, allocations: 5.444 MB / 0.7888 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/1.195, allocations: 77.7 kB / 0.7888 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003121/1.198, allocations: 4.544 MB / 0.7933 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001748/1.2, allocations: 1.319 MB / 0.7946 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003223/1.203, allocations: 1.758 MB / 0.7963 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/1.203, allocations: 305.1 kB / 0.7966 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/1.208, allocations: 4.073 MB / 0.8006 GB, free: 99.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006415/1.215, allocations: 8.742 MB / 0.8091 GB, free: 88.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/1.227, allocations: 13.54 MB / 0.8223 GB, free: 73.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.227, allocations: 48 kB / 0.8224 GB, free: 73.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.03135/1.259, allocations: 16.3 MB / 0.8383 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.904e-05/1.259, allocations: 72.94 kB / 0.8384 GB, free: 56.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/1.259, allocations: 160 kB / 0.8385 GB, free: 56.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/1.271, allocations: 4.267 MB / 0.8427 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005993/1.277, allocations: 1.901 MB / 0.8445 GB, free: 50.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02646/1.304, allocations: 21.16 MB / 0.8652 GB, free: 29.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008682/1.313, allocations: 0.5111 MB / 0.8657 GB, free: 28.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.314, allocations: 485 kB / 0.8662 GB, free: 28.16 MB / 0.5606 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 (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.006287/1.321, allocations: 3.119 MB / 0.8692 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/1.322, allocations: 0.5123 MB / 0.8697 GB, free: 24.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/1.342, allocations: 10.02 MB / 0.8795 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.14e-05/1.342, allocations: 39.94 kB / 0.8795 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.364e-05/1.342, allocations: 16 kB / 0.8795 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.562e-05/1.342, allocations: 19.94 kB / 0.8796 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04021/1.382, allocations: 17.83 MB / 0.897 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.879e-05/1.382, allocations: 8 kB / 0.897 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/1.385, allocations: 0.4962 MB / 0.8975 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01424/1.399, allocations: 3.838 MB / 0.9012 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008036/1.4, allocations: 63.94 kB / 0.9013 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05165/1.452, allocations: 18.73 MB / 0.9196 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-05/1.452, allocations: 11.94 kB / 0.9196 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05345/1.505, allocations: 14.86 MB / 0.9341 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.507, allocations: 478.1 kB / 0.9345 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002263/1.51, allocations: 67.98 kB / 0.9346 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005647/1.515, allocations: 231.7 kB / 0.9348 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001577/1.517, allocations: 242.1 kB / 0.935 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008066/1.518, allocations: 91.98 kB / 0.9351 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008695/1.526, allocations: 3.232 MB / 0.9383 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.31e-07/1.526, allocations: 0 / 0.9383 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008708/1.535, allocations: 1.75 MB / 0.94 GB, free: 40 kB / 0.6075 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.001043/1.536, allocations: 258.9 kB / 0.9402 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01653/1.553, allocations: 9.336 MB / 0.9494 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.553, allocations: 0.9375 kB / 0.9494 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006211/1.559, allocations: 3.449 MB / 0.9527 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/1.563, allocations: 0.6454 MB / 0.9534 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03214/1.595, allocations: 16.21 MB / 0.9692 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006695/1.602, allocations: 4.323 MB / 0.9734 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.2993/1.901, allocations: 2.524 MB / 0.9759 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/1.904, allocations: 330 kB / 0.9762 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of SimCode: time 8.41e-07/1.904, allocations: 0 / 0.9762 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.1177/2.021, allocations: 77.96 MB / 1.052 GB, free: 166.8 MB / 0.6544 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.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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.29310287348926]