Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 107.1 kB / 19.8 MB, free: 2.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 191.2 kB / 22.98 MB, free: 5.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.229/0.229, allocations: 44.91 MB / 351.6 MB, free: 12.23 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.88 kB / 495.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4354, allocations: 64.26 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01857/0.4539, allocations: 15.14 MB / 0.5612 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.4657, allocations: 4.865 MB / 0.5659 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/0.4684, allocations: 91.75 kB / 0.566 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007243/0.4757, allocations: 3.216 MB / 0.5691 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008896/0.4846, allocations: 2.615 MB / 0.5717 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.4874, allocations: 0.9983 MB / 0.5727 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01484/0.5023, allocations: 6.963 MB / 0.5795 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006903/0.5092, allocations: 3.235 MB / 0.5826 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005847/0.515, allocations: 2.231 MB / 0.5848 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007562/0.5226, allocations: 3.536 MB / 0.5883 GB, free: 4.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002585/0.5252, allocations: 495.9 kB / 0.5887 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005359/0.5305, allocations: 1.545 MB / 0.5902 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005786/0.5363, allocations: 2.953 MB / 0.5931 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007975/0.5443, allocations: 3.258 MB / 0.5963 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02088/0.5652, allocations: 10.48 MB / 0.6065 GB, free: 1.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.5652, allocations: 0 / 0.6065 GB, free: 1.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5652, allocations: 0 / 0.6065 GB, free: 1.973 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003816/0.5656, allocations: 3.938 kB / 0.6065 GB, free: 1.969 MB / 446.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.02851/0.5941, allocations: 7.502 MB / 0.6139 GB, free: 10.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/0.5942, allocations: 12.03 kB / 0.6139 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02498/0.6191, allocations: 3.967 MB / 0.6178 GB, free: 6.375 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.6339, allocations: 4.202 MB / 0.6219 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004958/0.6344, allocations: 316.4 kB / 0.6222 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002944/0.6373, allocations: 447.5 kB / 0.6226 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04465/0.682, allocations: 15.73 MB / 0.638 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003652/0.6823, allocations: 59.52 kB / 0.638 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002423/0.6847, allocations: 207.8 kB / 0.6382 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008335/0.6931, allocations: 3.216 MB / 0.6413 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0432/0.7363, allocations: 14.16 MB / 0.6552 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/0.8436, allocations: 57.61 MB / 0.7114 GB, free: 3.883 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01571/0.8593, allocations: 6.284 MB / 0.7176 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006029/0.8653, allocations: 3.38 MB / 0.7209 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3981/1.263, allocations: 14.79 MB / 0.7353 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/1.263, allocations: 67.44 kB / 0.7354 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 6.212e-06/1.263, allocations: 3.562 kB / 0.7354 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.1253/1.389, allocations: 42.79 MB / 0.7772 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/1.389, allocations: 218 kB / 0.7774 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006057/1.395, allocations: 5.479 MB / 0.7827 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007412/1.396, allocations: 69.7 kB / 0.7828 GB, free: 127 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001828/1.397, allocations: 4.524 MB / 0.7872 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/1.399, allocations: 1.329 MB / 0.7885 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/1.401, allocations: 1.869 MB / 0.7903 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.286e-05/1.401, allocations: 305.1 kB / 0.7906 GB, free: 119 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/1.406, allocations: 4.839 MB / 0.7954 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006451/1.412, allocations: 9.822 MB / 0.8049 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01328/1.425, allocations: 15.63 MB / 0.8202 GB, free: 83.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.425, allocations: 52 kB / 0.8203 GB, free: 83.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04075/1.466, allocations: 19.6 MB / 0.8394 GB, free: 64.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/1.466, allocations: 80.19 kB / 0.8395 GB, free: 64.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/1.467, allocations: 176 kB / 0.8396 GB, free: 63.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01933/1.486, allocations: 5.945 MB / 0.8454 GB, free: 57.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007115/1.493, allocations: 2.125 MB / 0.8475 GB, free: 55.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02808/1.521, allocations: 26.16 MB / 0.8731 GB, free: 29.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008443/1.53, allocations: 0.5619 MB / 0.8736 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001919/1.532, allocations: 0.5078 MB / 0.8741 GB, free: 28.29 MB / 0.5606 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 (1099): * Single equations (assignments): 1091 * 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.007329/1.539, allocations: 3.106 MB / 0.8771 GB, free: 25.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001775/1.541, allocations: 0.5122 MB / 0.8776 GB, free: 24.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02957/1.57, allocations: 12.99 MB / 0.8903 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.993e-05/1.57, allocations: 51.98 kB / 0.8904 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/1.57, allocations: 8 kB / 0.8904 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.195e-05/1.57, allocations: 11.95 kB / 0.8904 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05271/1.623, allocations: 24.6 MB / 0.9144 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.452e-05/1.623, allocations: 4 kB / 0.9144 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00341/1.627, allocations: 0.585 MB / 0.915 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02006/1.647, allocations: 4.97 MB / 0.9198 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/1.648, allocations: 56 kB / 0.9199 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03219/1.68, allocations: 21.36 MB / 0.9408 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.68, allocations: 15.78 kB / 0.9408 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03953/1.719, allocations: 17.59 MB / 0.9579 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002222/1.722, allocations: 0.556 MB / 0.9585 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002034/1.724, allocations: 55.94 kB / 0.9585 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003672/1.727, allocations: 267.6 kB / 0.9588 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/1.729, allocations: 189.7 kB / 0.959 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003252/1.729, allocations: 87.98 kB / 0.9591 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00761/1.737, allocations: 3.398 MB / 0.9624 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/1.737, allocations: 0 / 0.9624 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.4403/2.177, allocations: 1.764 MB / 0.9641 GB, free: 207.2 MB / 0.6231 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.001323/2.178, allocations: 205.9 kB / 0.9643 GB, free: 207.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01751/2.196, allocations: 10.55 MB / 0.9746 GB, free: 205 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/2.196, allocations: 1.562 kB / 0.9746 GB, free: 205 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005895/2.202, allocations: 3.825 MB / 0.9783 GB, free: 203.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004901/2.207, allocations: 0.6163 MB / 0.9789 GB, free: 203.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/2.238, allocations: 16.43 MB / 0.995 GB, free: 196.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007726/2.245, allocations: 4.615 MB / 0.9995 GB, free: 192.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.007178/2.253, allocations: 2.979 MB / 1.002 GB, free: 191 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/2.254, allocations: 351.1 kB / 1.003 GB, free: 190.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.713e-06/2.254, allocations: 4.703 kB / 1.003 GB, free: 190.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.1103/2.365, allocations: 76.93 MB / 1.078 GB, free: 115.6 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 9.446717485785484]