Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001705, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00234/0.00234, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.002/2.002, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3309/0.3309, allocations: 46.09 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4146, allocations: 62.42 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.02966/0.4443, allocations: 12.02 MB / 0.5434 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.4562, allocations: 4.312 MB / 0.5476 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.4591, allocations: 76.62 kB / 0.5477 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00744/0.4666, allocations: 2.733 MB / 0.5503 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01062/0.4773, allocations: 2.034 MB / 0.5523 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004568/0.4819, allocations: 0.9086 MB / 0.5532 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01572/0.4976, allocations: 5.675 MB / 0.5588 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.5079, allocations: 3.366 MB / 0.562 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007057/0.5151, allocations: 1.713 MB / 0.5637 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007805/0.5229, allocations: 2.52 MB / 0.5662 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002588/0.5256, allocations: 384 kB / 0.5665 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006253/0.5319, allocations: 1.393 MB / 0.5679 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004734/0.5367, allocations: 2.194 MB / 0.57 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006306/0.543, allocations: 2.427 MB / 0.5724 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0192/0.5623, allocations: 7.881 MB / 0.5801 GB, free: 15.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-05/0.5624, allocations: 4 kB / 0.5801 GB, free: 15.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.5624, allocations: 0 / 0.5801 GB, free: 15.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005698/0.563, allocations: 0 / 0.5801 GB, free: 15.92 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.03318/0.5962, allocations: 5.626 MB / 0.5856 GB, free: 10.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.593e-05/0.5963, allocations: 8.031 kB / 0.5856 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0221/0.6185, allocations: 2.502 MB / 0.5881 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/0.634, allocations: 3.381 MB / 0.5914 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004652/0.6345, allocations: 242.4 kB / 0.5916 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.6365, allocations: 335.6 kB / 0.5919 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03799/0.6746, allocations: 10.88 MB / 0.6025 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003701/0.675, allocations: 59.56 kB / 0.6026 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/0.6768, allocations: 159.8 kB / 0.6027 GB, free: 7.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006837/0.6837, allocations: 1.998 MB / 0.6047 GB, free: 5.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03679/0.7205, allocations: 9.44 MB / 0.6139 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09807/0.8187, allocations: 41.11 MB / 0.6541 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/0.8415, allocations: 4.264 MB / 0.6582 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005848/0.8474, allocations: 1.934 MB / 0.6601 GB, free: 11.7 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02318/0.8707, allocations: 7.612 MB / 0.6675 GB, free: 3.719 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/0.8708, allocations: 51.56 kB / 0.6676 GB, free: 3.656 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=180): time 8.266e-06/0.8708, allocations: 0 / 0.6676 GB, free: 3.656 MB / 0.5138 GB Notification: Performance of matching and sorting (n=236): time 0.3914/1.262, allocations: 41.17 MB / 0.7078 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/1.262, allocations: 209.9 kB / 0.708 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01657/1.279, allocations: 4.314 MB / 0.7122 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008884/1.28, allocations: 53.7 kB / 0.7123 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.004736/1.285, allocations: 3.291 MB / 0.7155 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002175/1.291, allocations: 0.9224 MB / 0.7164 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004297/1.295, allocations: 1.357 MB / 0.7177 GB, free: 152 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.3795/1.675, allocations: 305.7 kB / 0.718 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01163/1.687, allocations: 3.628 MB / 0.7215 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01347/1.7, allocations: 7.296 MB / 0.7287 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02255/1.723, allocations: 11.62 MB / 0.74 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002086/1.723, allocations: 38.38 kB / 0.7401 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.0718/1.795, allocations: 16.23 MB / 0.7559 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/1.795, allocations: 60 kB / 0.756 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/1.795, allocations: 128 kB / 0.7561 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04674/1.842, allocations: 6.221 MB / 0.7622 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/1.852, allocations: 1.489 MB / 0.7636 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0638/1.916, allocations: 27.63 MB / 0.7906 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/1.927, allocations: 408 kB / 0.791 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001739/1.929, allocations: 388 kB / 0.7914 GB, free: 103.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (779): * Single equations (assignments): 774 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006321/1.936, allocations: 2.22 MB / 0.7935 GB, free: 101.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/1.937, allocations: 415.2 kB / 0.7939 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05418/1.991, allocations: 11.3 MB / 0.805 GB, free: 89.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.129e-05/1.991, allocations: 11.95 kB / 0.805 GB, free: 89.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.991, allocations: 0 / 0.805 GB, free: 89.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/1.993, allocations: 464.5 kB / 0.8054 GB, free: 89.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/1.994, allocations: 36 kB / 0.8054 GB, free: 89.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004873/1.999, allocations: 179.7 kB / 0.8056 GB, free: 89.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001121/2, allocations: 180.4 kB / 0.8058 GB, free: 89.02 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03504/2.035, allocations: 8.765 MB / 0.8143 GB, free: 80.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02206/2.057, allocations: 9.696 MB / 0.8238 GB, free: 70.57 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005956/2.063, allocations: 2.717 MB / 0.8265 GB, free: 67.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007046/2.07, allocations: 2.705 MB / 0.8291 GB, free: 65.15 MB / 0.5606 GB Notification: Performance of Backend: time 1.663e-06/2.07, allocations: 0 / 0.8291 GB, free: 65.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02123/2.092, allocations: 6.164 MB / 0.8351 GB, free: 59.03 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02778/2.119, allocations: 10.32 MB / 0.8452 GB, free: 48.66 MB / 0.5606 GB Notification: Performance of Templates: time 0.2688/2.388, allocations: 74.48 MB / 0.9179 GB, free: 6.309 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches