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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 111.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.11 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3097, allocations: 62.44 MB / 0.5317 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01561/0.3254, allocations: 15 MB / 0.5463 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.3363, allocations: 4.828 MB / 0.551 GB, free: 14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003334/0.3397, allocations: 91.75 kB / 0.5511 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00638/0.3462, allocations: 3.146 MB / 0.5542 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007811/0.354, allocations: 2.524 MB / 0.5566 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002423/0.3565, allocations: 0.9827 MB / 0.5576 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.3674, allocations: 7.041 MB / 0.5645 GB, free: 196 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005073/0.3725, allocations: 4.369 MB / 0.5687 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.3759, allocations: 2.231 MB / 0.5709 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004662/0.3806, allocations: 3.24 MB / 0.5741 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001357/0.3819, allocations: 484 kB / 0.5745 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.385, allocations: 1.482 MB / 0.576 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002756/0.3878, allocations: 2.868 MB / 0.5788 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003382/0.3912, allocations: 3.219 MB / 0.5819 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.4018, allocations: 10.38 MB / 0.5921 GB, free: 3.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.4018, allocations: 0 / 0.5921 GB, free: 3.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4018, allocations: 3.938 kB / 0.5921 GB, free: 3.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002263/0.4021, allocations: 0 / 0.5921 GB, free: 3.777 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.01416/0.4162, allocations: 7.268 MB / 0.5992 GB, free: 12.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.4163, allocations: 8.031 kB / 0.5992 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01555/0.4318, allocations: 3.927 MB / 0.603 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009575/0.4415, allocations: 4.134 MB / 0.6071 GB, free: 4.277 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.4418, allocations: 316.4 kB / 0.6074 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/0.4431, allocations: 439.5 kB / 0.6078 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02413/0.4672, allocations: 15.73 MB / 0.6231 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.4674, allocations: 55.52 kB / 0.6232 GB, free: 2.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005558/0.468, allocations: 203.8 kB / 0.6234 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004918/0.4729, allocations: 3.212 MB / 0.6265 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03786/0.5108, allocations: 14.17 MB / 0.6404 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07947/0.5903, allocations: 57.5 MB / 0.6965 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01415/0.6045, allocations: 6.596 MB / 0.703 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004987/0.6095, allocations: 3.755 MB / 0.7066 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2481/0.8576, allocations: 14.76 MB / 0.721 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.8577, allocations: 67.81 kB / 0.7211 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 6.683e-06/0.8577, allocations: 0 / 0.7211 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.1482/1.006, allocations: 42.5 MB / 0.7626 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/1.006, allocations: 210 kB / 0.7628 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005816/1.012, allocations: 5.454 MB / 0.7681 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007999/1.013, allocations: 81.69 kB / 0.7682 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/1.014, allocations: 4.345 MB / 0.7724 GB, free: 125 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001175/1.016, allocations: 1.264 MB / 0.7737 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002118/1.018, allocations: 1.855 MB / 0.7755 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.862e-05/1.018, allocations: 301.1 kB / 0.7758 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005276/1.023, allocations: 4.835 MB / 0.7805 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007037/1.03, allocations: 9.825 MB / 0.7901 GB, free: 104.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/1.045, allocations: 15.63 MB / 0.8054 GB, free: 86.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/1.045, allocations: 48 kB / 0.8054 GB, free: 86.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04/1.085, allocations: 19.62 MB / 0.8246 GB, free: 66.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.085, allocations: 80 kB / 0.8246 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002062/1.085, allocations: 172 kB / 0.8248 GB, free: 66.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0206/1.106, allocations: 5.946 MB / 0.8306 GB, free: 60.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007463/1.114, allocations: 2.13 MB / 0.8327 GB, free: 58.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02949/1.143, allocations: 26.16 MB / 0.8582 GB, free: 31.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007552/1.151, allocations: 0.5578 MB / 0.8588 GB, free: 31.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/1.152, allocations: 0.5149 MB / 0.8593 GB, free: 30.8 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.006012/1.158, allocations: 3.091 MB / 0.8623 GB, free: 27.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001365/1.16, allocations: 497.5 kB / 0.8628 GB, free: 27.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02965/1.189, allocations: 13.02 MB / 0.8755 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.391e-05/1.19, allocations: 15.94 kB / 0.8755 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.19, allocations: 0 / 0.8755 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.191, allocations: 0.522 MB / 0.876 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/1.193, allocations: 48 kB / 0.8761 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003577/1.196, allocations: 259.6 kB / 0.8763 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/1.197, allocations: 213.7 kB / 0.8765 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01989/1.217, allocations: 10.54 MB / 0.8868 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0169/1.234, allocations: 12.97 MB / 0.8995 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004773/1.239, allocations: 3.667 MB / 0.9031 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006528/1.245, allocations: 3.394 MB / 0.9064 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of Backend: time 6.51e-07/1.245, allocations: 0 / 0.9064 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01808/1.264, allocations: 8.006 MB / 0.9142 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02771/1.291, allocations: 13.38 MB / 0.9272 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.3971/1.688, allocations: 92.66 MB / 1.018 GB, free: 161.9 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches