Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.001754/0.001754, allocations: 84.25 kB / 20.68 MB, free: 1.035 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.002069/0.002069, allocations: 162.1 kB / 23.95 MB, free: 4.16 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.53/1.53, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 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.2348/0.2348, allocations: 34.26 MB / 294.8 MB, free: 14.55 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 442.6 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.176e-05, allocations: 2.281 kB / 442.6 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.2509/0.251, allocations: 13.05 MB / 455.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.262, allocations: 4.63 MB / 460.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.2646, allocations: 107.6 kB / 460.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00643/0.271, allocations: 3.23 MB / 463.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008246/0.2792, allocations: 2.694 MB / 466.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.282, allocations: 1.092 MB / 467.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01156/0.2936, allocations: 7.825 MB / 475.3 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005941/0.2995, allocations: 4.09 MB / 479.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008531/0.308, allocations: 3.383 MB / 482.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008082/0.3161, allocations: 3.597 MB / 486.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.3175, allocations: 500 kB / 486.8 MB, free: 9.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.3212, allocations: 1.467 MB / 488.3 MB, free: 8.281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003401/0.3246, allocations: 3.046 MB / 491.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003202/0.3278, allocations: 1.857 MB / 493.2 MB, free: 3.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.3433, allocations: 10.54 MB / 0.4919 GB, free: 8.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.3433, allocations: 4 kB / 0.4919 GB, free: 8.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3433, allocations: 3.938 kB / 0.4919 GB, free: 8.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003576/0.3436, allocations: 8 kB / 0.4919 GB, free: 8.773 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.0181/0.3617, allocations: 7.412 MB / 0.4992 GB, free: 1.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3618, allocations: 8.031 kB / 0.4992 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/0.3794, allocations: 4.068 MB / 0.5032 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.3897, allocations: 4.063 MB / 0.5071 GB, free: 9.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/0.39, allocations: 328.3 kB / 0.5074 GB, free: 8.762 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001633/0.3917, allocations: 432.2 kB / 0.5079 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03249/0.4242, allocations: 15.82 MB / 0.5233 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/0.4244, allocations: 63.47 kB / 0.5234 GB, free: 7.508 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007821/0.4252, allocations: 203.8 kB / 0.5236 GB, free: 7.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005767/0.4309, allocations: 3.216 MB / 0.5267 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03165/0.4626, allocations: 14.15 MB / 0.5405 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08638/0.549, allocations: 53.76 MB / 0.593 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/0.5646, allocations: 5.565 MB / 0.5985 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005539/0.5701, allocations: 3.39 MB / 0.6018 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02359/0.5937, allocations: 12.37 MB / 0.6138 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.529e-05/0.5938, allocations: 68.5 kB / 0.6139 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 7.393e-06/0.5938, allocations: 3.938 kB / 0.6139 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=342): time 0.4442/1.038, allocations: 43.64 MB / 0.6565 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/1.038, allocations: 211 kB / 0.6567 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008461/1.047, allocations: 5.376 MB / 0.662 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/1.048, allocations: 71.67 kB / 0.6621 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002716/1.05, allocations: 4.503 MB / 0.6664 GB, free: 157 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001772/1.052, allocations: 1.305 MB / 0.6677 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003012/1.055, allocations: 1.838 MB / 0.6695 GB, free: 155.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/1.055, allocations: 311.9 kB / 0.6698 GB, free: 154.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006253/1.061, allocations: 4.829 MB / 0.6745 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007924/1.069, allocations: 9.859 MB / 0.6842 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01662/1.086, allocations: 15.61 MB / 0.6994 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000208/1.086, allocations: 48 kB / 0.6995 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.04343/1.13, allocations: 19.53 MB / 0.7185 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.13, allocations: 80 kB / 0.7186 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/1.13, allocations: 172.9 kB / 0.7188 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02321/1.153, allocations: 5.93 MB / 0.7246 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00761/1.161, allocations: 2.125 MB / 0.7266 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02961/1.19, allocations: 25.74 MB / 0.7518 GB, free: 76.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/1.202, allocations: 0.6165 MB / 0.7524 GB, free: 76.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.204, allocations: 0.5117 MB / 0.7529 GB, free: 75.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1095): * Single equations (assignments): 1087 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006046/1.21, allocations: 3.091 MB / 0.7559 GB, free: 72.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.211, allocations: 488.8 kB / 0.7564 GB, free: 72.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03097/1.242, allocations: 12.93 MB / 0.769 GB, free: 59.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.086e-05/1.242, allocations: 58.81 kB / 0.769 GB, free: 59.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/1.242, allocations: 15.98 kB / 0.7691 GB, free: 59.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-05/1.242, allocations: 11.95 kB / 0.7691 GB, free: 59.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04954/1.292, allocations: 22.41 MB / 0.791 GB, free: 36.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.614e-05/1.292, allocations: 4 kB / 0.791 GB, free: 36.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003376/1.295, allocations: 0.5811 MB / 0.7915 GB, free: 35.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02086/1.316, allocations: 4.97 MB / 0.7964 GB, free: 30.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008492/1.317, allocations: 52.88 kB / 0.7964 GB, free: 30.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02389/1.341, allocations: 20.95 MB / 0.8169 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.341, allocations: 4 kB / 0.8169 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03806/1.379, allocations: 17.52 MB / 0.834 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/1.381, allocations: 480.6 kB / 0.8345 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/1.383, allocations: 56 kB / 0.8345 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003871/1.386, allocations: 307.5 kB / 0.8348 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009888/1.387, allocations: 205.5 kB / 0.835 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003319/1.388, allocations: 80 kB / 0.8351 GB, free: 6.832 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005859/1.394, allocations: 3.13 MB / 0.8381 GB, free: 3.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.394, allocations: 4 kB / 0.8381 GB, free: 3.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01014/1.404, allocations: 1.875 MB / 0.84 GB, free: 1.828 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/1.405, allocations: 218.5 kB / 0.8402 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2449/1.65, allocations: 10.53 MB / 0.8505 GB, free: 172.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/1.65, allocations: 2.344 kB / 0.8505 GB, free: 172.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007039/1.657, allocations: 3.814 MB / 0.8542 GB, free: 170.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/1.661, allocations: 0.523 MB / 0.8547 GB, free: 170.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03098/1.692, allocations: 16.27 MB / 0.8706 GB, free: 163.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005449/1.698, allocations: 4.121 MB / 0.8746 GB, free: 162.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006207/1.704, allocations: 2.929 MB / 0.8775 GB, free: 162.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/1.705, allocations: 339.7 kB / 0.8778 GB, free: 162.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.473e-06/1.705, allocations: 0 / 0.8778 GB, free: 162.6 MB / 0.545 GB Notification: Performance of Templates: time 0.1067/1.812, allocations: 74.06 MB / 0.9501 GB, free: 92.54 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.840511295944452]