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.001798/0.001799, allocations: 114.3 kB / 18.46 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.002273/0.002273, allocations: 206.8 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 2.275/2.275, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4104/0.4104, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 79.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6888, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.02998/0.7188, allocations: 14.99 MB / 0.5463 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01835/0.7372, allocations: 4.824 MB / 0.551 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004628/0.7419, allocations: 95.75 kB / 0.5511 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01029/0.7523, allocations: 3.149 MB / 0.5542 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.7641, allocations: 2.592 MB / 0.5567 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004035/0.7681, allocations: 0.9827 MB / 0.5577 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01621/0.7844, allocations: 7.047 MB / 0.5646 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009447/0.7939, allocations: 4.37 MB / 0.5688 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006131/0.8001, allocations: 2.215 MB / 0.571 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007988/0.8081, allocations: 3.248 MB / 0.5742 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002334/0.8105, allocations: 488 kB / 0.5746 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004969/0.8155, allocations: 1.479 MB / 0.5761 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005728/0.8212, allocations: 2.875 MB / 0.5789 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007244/0.8285, allocations: 3.227 MB / 0.582 GB, free: 14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.021/0.8495, allocations: 10.41 MB / 0.5922 GB, free: 3.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.8496, allocations: 4 kB / 0.5922 GB, free: 3.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.8496, allocations: 0 / 0.5922 GB, free: 3.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003785/0.85, allocations: 0 / 0.5922 GB, free: 3.543 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.03023/0.8803, allocations: 7.452 MB / 0.5995 GB, free: 11.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.877e-05/0.8804, allocations: 12.03 kB / 0.5995 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02842/0.9088, allocations: 3.967 MB / 0.6034 GB, free: 8.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.9243, allocations: 4.143 MB / 0.6074 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005435/0.9248, allocations: 324.4 kB / 0.6077 GB, free: 3.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002892/0.9278, allocations: 435.6 kB / 0.6081 GB, free: 3.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05581/0.9836, allocations: 15.73 MB / 0.6235 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003957/0.9841, allocations: 63.52 kB / 0.6235 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002753/0.9868, allocations: 203.8 kB / 0.6237 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008923/0.9958, allocations: 3.216 MB / 0.6269 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04834/1.044, allocations: 14.16 MB / 0.6407 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1274/1.172, allocations: 57.61 MB / 0.697 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02489/1.197, allocations: 6.604 MB / 0.7034 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008932/1.206, allocations: 3.739 MB / 0.7071 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.457/1.663, allocations: 14.78 MB / 0.7215 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/1.663, allocations: 65 kB / 0.7216 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 1.465e-05/1.663, allocations: 0 / 0.7216 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=342): time 0.1954/1.858, allocations: 42.82 MB / 0.7634 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/1.858, allocations: 218 kB / 0.7636 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007843/1.866, allocations: 5.468 MB / 0.7689 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000762/1.867, allocations: 73.7 kB / 0.769 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002349/1.869, allocations: 4.52 MB / 0.7734 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001608/1.871, allocations: 1.321 MB / 0.7747 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004143/1.875, allocations: 1.872 MB / 0.7765 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/1.875, allocations: 305.1 kB / 0.7768 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007613/1.883, allocations: 4.839 MB / 0.7816 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01122/1.894, allocations: 9.829 MB / 0.7912 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02093/1.915, allocations: 15.61 MB / 0.8064 GB, free: 85.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002421/1.915, allocations: 52 kB / 0.8065 GB, free: 85.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04682/1.962, allocations: 19.64 MB / 0.8256 GB, free: 66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/1.963, allocations: 80 kB / 0.8257 GB, free: 65.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002855/1.963, allocations: 172 kB / 0.8259 GB, free: 65.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02091/1.984, allocations: 5.949 MB / 0.8317 GB, free: 59.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007205/1.991, allocations: 2.121 MB / 0.8338 GB, free: 57.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02919/2.02, allocations: 26.18 MB / 0.8593 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007213/2.028, allocations: 0.5613 MB / 0.8599 GB, free: 30.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/2.029, allocations: 0.5117 MB / 0.8604 GB, free: 30.14 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.005221/2.034, allocations: 3.094 MB / 0.8634 GB, free: 27.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/2.035, allocations: 0.5122 MB / 0.8639 GB, free: 26.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03099/2.066, allocations: 13.01 MB / 0.8766 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.416e-05/2.066, allocations: 15.94 kB / 0.8766 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/2.066, allocations: 4 kB / 0.8766 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/2.068, allocations: 0.5444 MB / 0.8771 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001565/2.07, allocations: 51.98 kB / 0.8772 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00335/2.073, allocations: 255.6 kB / 0.8774 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009268/2.074, allocations: 217.6 kB / 0.8776 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02106/2.095, allocations: 10.54 MB / 0.8879 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02029/2.115, allocations: 13 MB / 0.9006 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005436/2.121, allocations: 3.674 MB / 0.9042 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006424/2.127, allocations: 3.394 MB / 0.9075 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of Backend: time 7.11e-07/2.127, allocations: 0 / 0.9075 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01769/2.145, allocations: 8.009 MB / 0.9154 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of SimCode: time 0.03196/2.177, allocations: 13.6 MB / 0.9286 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.4551/2.632, allocations: 91.75 MB / 1.018 GB, free: 161.6 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